aboutsummaryrefslogtreecommitdiffstats
path: root/net/crescendo
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-03-10 14:16:36 +0800
committerdinoex <dinoex@FreeBSD.org>2001-03-10 14:16:36 +0800
commit1b00a7000e7952368d2a62451a8aa826579f1864 (patch)
tree2336a29d6a9bbf432ae046a69a309777284aeb00 /net/crescendo
parentde99fed2263357e059186a118825805a377b243c (diff)
downloadfreebsd-ports-gnome-1b00a7000e7952368d2a62451a8aa826579f1864.tar.gz
freebsd-ports-gnome-1b00a7000e7952368d2a62451a8aa826579f1864.tar.zst
freebsd-ports-gnome-1b00a7000e7952368d2a62451a8aa826579f1864.zip
Build now with full Gnome support
Thanks to Jeremy Lea Submitted by: reg
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