diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-08 06:12:56 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-09-08 06:12:56 +0000 |
commit | 398d236ce4f19da4fe598aca0d89029b8b274920 (patch) | |
tree | 7b111dee9212b32f47f0a1800fc29cfb228d7e89 | |
parent | bdb4445a67afb31613739a47a47736dfdfd68fd9 (diff) | |
download | ports-398d236ce4f19da4fe598aca0d89029b8b274920.tar.gz ports-398d236ce4f19da4fe598aca0d89029b8b274920.zip |
Notes
-rw-r--r-- | audio/grip/Makefile | 30 | ||||
-rw-r--r-- | audio/grip/pkg-plist | 30 |
2 files changed, 14 insertions, 46 deletions
diff --git a/audio/grip/Makefile b/audio/grip/Makefile index 8c4f9ef6c08c..b68d6c95e028 100644 --- a/audio/grip/Makefile +++ b/audio/grip/Makefile @@ -7,7 +7,7 @@ PORTNAME= grip PORTVERSION= 3.0.7 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=grip @@ -19,27 +19,23 @@ LIB_DEPENDS= id3-3.8.2:${PORTSDIR}/audio/id3lib \ ghttp.1:${PORTSDIR}/www/libghttp USE_X_PREFIX= yes - +USE_GNOME= gnomehack gnomelibs gnomeprefix gnometarget USE_GMAKE= yes GNU_CONFIGURE= yes -USE_GNOME= gnomelibs - -CONFIGURE_ARGS+= --datadir=${PREFIX}/share +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -CFLAGS+= ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib - -.if defined(WITH_DEBUG) -CFLAGS+= -g -LDFLAGS+= -g +.if defined(WITH_CDPARANOIA) +LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia +.else +CONFIGURE_ARGS+= --disable-cdpar .endif -CONFIGURE_ENV+= CFLAGS="${CFLAGS}" -CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" -CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" -CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" -CONFIGURE_ENV+= LIBS=${PTHREAD_LIBS} -post-install:: +post-patch: + @${REINPLACE_CMD} -e \ + 's|helpdir)/images|helpdir)|g' ${WRKSRC}/doc/C/Makefile.in + +post-install: @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/audio/grip/pkg-plist b/audio/grip/pkg-plist index a47dde8f190a..5d46c0393e21 100644 --- a/audio/grip/pkg-plist +++ b/audio/grip/pkg-plist @@ -71,6 +71,7 @@ share/gnome/help/grip/C/topic.dat share/gnome/help/grip/C/trkedit.png share/gnome/help/grip/C/volume.png share/gnome/help/grip/C/x135.html +share/gnome/pixmaps/gripicon.png share/locale/ca/LC_MESSAGES/grip.mo share/locale/de/LC_MESSAGES/grip.mo share/locale/es/LC_MESSAGES/grip.mo @@ -81,34 +82,5 @@ share/locale/ru/LC_MESSAGES/grip.mo share/locale/zh_CN/LC_MESSAGES/grip.mo share/locale/zh_HK/LC_MESSAGES/grip.mo share/locale/zh_TW/LC_MESSAGES/grip.mo -share/pixmaps/gripicon.png -@exec /bin/mkdir -p %D/share/gnome/help/grip/C/images -@unexec /bin/rmdir %D/share/gnome/help/grip/C/images || true -@dirrm share/pixmaps -@dirrm share/locale/zh_TW/LC_MESSAGES -@dirrm share/locale/zh_TW -@dirrm share/locale/zh_HK/LC_MESSAGES -@dirrm share/locale/zh_HK -@dirrm share/locale/zh_CN/LC_MESSAGES -@dirrm share/locale/zh_CN -@dirrm share/locale/ru/LC_MESSAGES -@dirrm share/locale/ru -@dirrm share/locale/pt_BR/LC_MESSAGES -@dirrm share/locale/pt_BR -@dirrm share/locale/ja/LC_MESSAGES -@dirrm share/locale/ja -@dirrm share/locale/fr/LC_MESSAGES -@dirrm share/locale/fr -@dirrm share/locale/es/LC_MESSAGES -@dirrm share/locale/es -@dirrm share/locale/de/LC_MESSAGES -@dirrm share/locale/de -@dirrm share/locale/ca/LC_MESSAGES -@dirrm share/locale/ca -@dirrm share/locale @dirrm share/gnome/help/grip/C @dirrm share/gnome/help/grip -@dirrm share/gnome/help -@dirrm share/gnome/apps/Multimedia -@dirrm share/gnome/apps -@dirrm share/gnome |