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]
This commit is contained in:
Jeremy Messenger 2007-01-04 02:14:44 +00:00
parent b446759533
commit d39f170c2f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181381

View File

@ -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}