aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-09-17 01:52:09 +0800
committerantoine <antoine@FreeBSD.org>2013-09-17 01:52:09 +0800
commit11a32a20c7a86ab2772ebbdd89d40a41cff801e9 (patch)
tree4e6e199b67428d3524ff6b21b66d274f3c23cc62 /x11
parent31a571d43db1d5e5db2c3fc810b255c4dac2322a (diff)
downloadfreebsd-ports-gnome-11a32a20c7a86ab2772ebbdd89d40a41cff801e9.tar.gz
freebsd-ports-gnome-11a32a20c7a86ab2772ebbdd89d40a41cff801e9.tar.zst
freebsd-ports-gnome-11a32a20c7a86ab2772ebbdd89d40a41cff801e9.zip
fbsetbg is only provided by x11-wm/fluxbox so always depend on it
This prevents always rebuilding fluxbg during incremental poudriere bulk. While here, use new LIB_DEPENDS syntax and pad pkg-message.
Diffstat (limited to 'x11')
-rw-r--r--x11/fluxbg/Makefile15
-rw-r--r--x11/fluxbg/pkg-message4
2 files changed, 6 insertions, 13 deletions
diff --git a/x11/fluxbg/Makefile b/x11/fluxbg/Makefile
index b6c176b03d38..9412d2e63050 100644
--- a/x11/fluxbg/Makefile
+++ b/x11/fluxbg/Makefile
@@ -10,22 +10,19 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Background changer for fluxbox/blackbox
-LIB_DEPENDS= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtkmm20
+LIB_DEPENDS= libgtkmm-2.0.so:${PORTSDIR}/x11-toolkits/gtkmm20
+RUN_DEPENDS= fbsetbg:${PORTSDIR}/x11-wm/fluxbox
GNU_CONFIGURE= yes
-USES= pathfix pkgconfig
-
-.include <bsd.port.pre.mk>
-
-.if !exists(${LOCALBASE}/bin/fbsetbg)
-RUN_DEPENDS= fbsetbg:${PORTSDIR}/x11-wm/fluxbox
-.endif
+USES= pathfix pkgconfig
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/src/fluxbg_conf.cc
post-install:
+ @${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11/fluxbg/pkg-message b/x11/fluxbg/pkg-message
index 76eb23c7f982..016653079642 100644
--- a/x11/fluxbg/pkg-message
+++ b/x11/fluxbg/pkg-message
@@ -1,5 +1 @@
-
-
You must run fluxbg_conf before you can use fluxbg!
-
-