aboutsummaryrefslogtreecommitdiff
path: root/net/crescendo
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
parent8859bc858e0beda54c6b085b73f97689cabe23da (diff)
downloadports-ea573ffe3386d6ca5e1ed7411dcc21e4fb6937b9.tar.gz
ports-ea573ffe3386d6ca5e1ed7411dcc21e4fb6937b9.zip
Notes
Diffstat (limited to 'net/crescendo')
-rw-r--r--net/crescendo/Makefile7
-rw-r--r--net/crescendo/pkg-plist12
2 files changed, 12 insertions, 7 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}
diff --git a/net/crescendo/pkg-plist b/net/crescendo/pkg-plist
index 653640ec4da0..4eed6f4795c0 100644
--- a/net/crescendo/pkg-plist
+++ b/net/crescendo/pkg-plist
@@ -1,9 +1,9 @@
bin/crescendo
-share/crescendo/cr-about.jpg
-share/crescendo/cr-splash1.jpg
-share/crescendo/startup2.wav
-share/gnome/gnome/apps/Internet/crescendo.desktop
-share/pixmaps/crescendo.png
+share/gnome/crescendo/cr-about.jpg
+share/gnome/crescendo/cr-splash1.jpg
+share/gnome/crescendo/startup2.wav
+share/gnome/apps/Internet/crescendo.desktop
+share/gnome/pixmaps/crescendo.png
%%DOCDIR%%/AUTHORS
%%DOCDIR%%/COPYING
%%DOCDIR%%/ChangeLog
@@ -14,4 +14,4 @@ share/pixmaps/crescendo.png
%%DOCDIR%%/README.BINARY
%%DOCDIR%%/TODO
@dirrm %%DOCDIR%%
-@dirrm share/crescendo
+@dirrm share/gnome/crescendo