aboutsummaryrefslogtreecommitdiff
path: root/x11/fluxbg
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-09-01 01:57:06 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-09-01 01:57:06 +0000
commit8e55ee9bbc3d4e1681d4c0dcc353b39494811bb3 (patch)
treeaaaf39679aec2f51f94ab09e3370b1aba6c2cde4 /x11/fluxbg
parent250fbd004c1e63af01baef14bee96c8d344b8225 (diff)
downloadports-8e55ee9bbc3d4e1681d4c0dcc353b39494811bb3.tar.gz
ports-8e55ee9bbc3d4e1681d4c0dcc353b39494811bb3.zip
Notes
Diffstat (limited to 'x11/fluxbg')
-rw-r--r--x11/fluxbg/Makefile22
1 files changed, 14 insertions, 8 deletions
diff --git a/x11/fluxbg/Makefile b/x11/fluxbg/Makefile
index 100d3731e34a..7543e4c5c9d3 100644
--- a/x11/fluxbg/Makefile
+++ b/x11/fluxbg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fluxbg
PORTVERSION= 0.7
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,17 +17,23 @@ COMMENT= Background changer for fluxbox/blackbox
LIB_DEPENDS= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtkmm20
-.if !exists(${X11BASE}/bin/bsetbg) && \
- !exists(${X11BASE}/bin/fbsetbg) && \
- !exists(${X11BASE}/bin/fbsetbg-devel)
-RUN_DEPENDS= fbsetbg:${PORTSDIR}/x11-wm/fluxbox
-.endif
-
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gnometarget
+.include <bsd.port.pre.mk>
+
+.if !exists(${X11BASE}/bin/bsetbg) && \
+ !exists(${LOCALBASE}/bin/fbsetbg) && \
+ !exists(${X11BASE}/bin/fbsetbg)
+RUN_DEPENDS= fbsetbg:${PORTSDIR}/x11-wm/fluxbox-devel
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
+ s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/src/fluxbg_conf.cc
+
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>