summaryrefslogtreecommitdiffstats
path: root/audio/gnomemedia2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gnomemedia2/Makefile')
-rw-r--r--audio/gnomemedia2/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/audio/gnomemedia2/Makefile b/audio/gnomemedia2/Makefile
index e48112e1c..5a4c205ba 100644
--- a/audio/gnomemedia2/Makefile
+++ b/audio/gnomemedia2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnomemedia2
-PORTVERSION= 2.5.1
-PORTREVISION= 1
+PORTVERSION= 2.5.2
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-media/2.5
@@ -26,13 +25,20 @@ USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
GNOME_DESKTOP_VERSION=2
-USE_GNOME= gnomeprefix gnomehack gnomehier gnomedesktop gail \
- gstreamerplugins
+USE_GNOME= gnomeprefix gnomehack intlhack lthack gnomehier gnomedesktop \
+ gail gstreamerplugins
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]CDROM_HOST[)]|freebsd|g' \
${WRKSRC}/gnome-cd/Makefile.in
+.if ${OSVERSION} > 501107
+ @${REINPLACE_CMD} -e 's|%%CDROM%%|acd0|' ${WRKSRC}/configure
+.else
+ @${REINPLACE_CMD} -e 's|%%CDROM%%|acd0c|' ${WRKSRC}/configure
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>