aboutsummaryrefslogtreecommitdiff
path: root/net/crescendo/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-03-10 06:16:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-03-10 06:16:36 +0000
commitea573ffe3386d6ca5e1ed7411dcc21e4fb6937b9 (patch)
treef1da7071619633cde21691fa097c1c95bfe575b6 /net/crescendo/Makefile
parent8859bc858e0beda54c6b085b73f97689cabe23da (diff)
Notes
Diffstat (limited to 'net/crescendo/Makefile')
-rw-r--r--net/crescendo/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/crescendo/Makefile b/net/crescendo/Makefile
index 10a0d4faf63e..731b8dcdbb84 100644
--- a/net/crescendo/Makefile
+++ b/net/crescendo/Makefile
@@ -15,8 +15,8 @@ RUN_DEPENDS= tf:${PORTSDIR}/net/tinyfugue
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
-USE_GNOMELIBS= yes
CONFIGURE_ARGS+= --enable-compile-warnings=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@@ -25,6 +25,11 @@ PLIST_SUB= DOCDIR=${DOCDIR}
DOCDIR= share/doc/${PORTNAME}
+pre-patch:
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(prefix\)/share/|\$\(datadir\)/|g'
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}