aboutsummaryrefslogtreecommitdiff
path: root/audio/gnomemedia2/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-08-29 20:44:49 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-08-29 20:44:49 +0000
commit223d02f5d43fba536e34e5e164f4c85413adab14 (patch)
tree15ffdcc066c3d581ec117b260f16bbe2d6bb12d4 /audio/gnomemedia2/Makefile
parent344f692a2be9cd6efc90c5150828c09cf602d923 (diff)
downloadports-223d02f5d43fba536e34e5e164f4c85413adab14.tar.gz
ports-223d02f5d43fba536e34e5e164f4c85413adab14.zip
Notes
Diffstat (limited to 'audio/gnomemedia2/Makefile')
-rw-r--r--audio/gnomemedia2/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile
index 3399d915fbd2..f6f8db416198 100644
--- a/audio/gnomemedia2/Makefile
+++ b/audio/gnomemedia2/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= gnomemedia2
-PORTVERSION= 2.0.0
-PORTREVISION= 1
+PORTVERSION= 2.0.2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= 2.0.0/releases/gnome-2.0-desktop-final
+MASTER_SITE_SUBDIR= 2.0.1/sources/gnome-media
DISTNAME= gnome-media-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -26,18 +25,14 @@ USE_GMAKE= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>