Build now with full Gnome support

Thanks to Jeremy Lea

Submitted by:	reg
This commit is contained in:
Dirk Meyer 2001-03-10 06:16:36 +00:00
parent 8859bc858e
commit ea573ffe33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39379
2 changed files with 12 additions and 7 deletions

View file

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

View file

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