aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fluxbg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fluxbg/Makefile')
-rw-r--r--x11/fluxbg/Makefile15
1 files changed, 6 insertions, 9 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>