aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
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!
-
-