aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-01-04 10:14:44 +0800
committermezz <mezz@FreeBSD.org>2007-01-04 10:14:44 +0800
commita2cfe82ecd0632c0af23dae82a5585fd9b415ad4 (patch)
tree47d52ebe659605ce153f5fbf731fd5d7e48c2959 /Mk/bsd.gnome.mk
parentf74cd09b1c3c34c1745213b9024a42d708a26a94 (diff)
downloadfreebsd-ports-gnome-a2cfe82ecd0632c0af23dae82a5585fd9b415ad4.tar.gz
freebsd-ports-gnome-a2cfe82ecd0632c0af23dae82a5585fd9b415ad4.tar.zst
freebsd-ports-gnome-a2cfe82ecd0632c0af23dae82a5585fd9b415ad4.zip
Merging from MC ports to FreeBSD ports:
- Make sure --mandir is set appropriately for ports that use gnomeprefix. [1] - Add a new variable for Makefile.in, called GNOME_MAKEFILEIN for anyone can tweak it. Some ports have GNUmakefile.in, so with this variable will be useful. Submitted by: marcus [1]
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index b3dce54bce5a..3c2be5d18bae 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -66,8 +66,9 @@ _USE_GNOME_ALL+= atk atspi desktopfileutils eel2 evolutiondataserver \
libxml2 libxslt libzvt linc metacity nautilus2 nautiluscdburner \
orbit2 pango pygnome2 pygnomeextras pygtk2 vte pygnomedesktop
+GNOME_MAKEFILEIN?= Makefile.in
SCROLLKEEPER_DIR= /var/db/scrollkeeper
-gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "Makefile.in*" -type f | ${XARGS} ${REINPLACE_CMD} -e \
+gnomehack_PRE_PATCH= ${FIND} ${WRKSRC} -name "${GNOME_MAKEFILEIN}*" -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]GNOME_datadir[)]/gnome/|(datadir)/|g ; \
s|[(]GNOME_datadir[)]/locale|(prefix)/share/locale|g ; \
s|[(]datadir[)]/locale|(prefix)/share/locale|g ; \
@@ -114,7 +115,8 @@ gnomeprefix_CONFIGURE_ARGS=--localstatedir=${DESTDIR}${GNOME_LOCALSTATEDIR} \
--with-html-dir=${DESTDIR}${GNOME_HTML_DIR} \
--with-help-dir=${TARGETDIR}/share/gnome/help \
--disable-gtk-doc \
- --with-gconf-source=${GCONF_CONFIG_SOURCE}
+ --with-gconf-source=${GCONF_CONFIG_SOURCE} \
+ --mandir=${PREFIX}/man
gnomeprefix_USE_GNOME_IMPL=gnomehier
.if !defined(WITHOUT_HACK)
gnomeprefix_PREFIX=${LOCALBASE}