aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gqmpeg-devel/Makefile
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-07-18 21:52:33 +0800
committernaddy <naddy@FreeBSD.org>2002-07-18 21:52:33 +0800
commit2c6c9b9e8c6da5123622f6404a04ba80ca8f3eae (patch)
tree6e5f7ea26dd27ff496e87f97fe65da6847a010ac /audio/gqmpeg-devel/Makefile
parent3436fcd9102b5388b74ad0ac69f96c5109678f6c (diff)
downloadfreebsd-ports-gnome-2c6c9b9e8c6da5123622f6404a04ba80ca8f3eae.tar.gz
freebsd-ports-gnome-2c6c9b9e8c6da5123622f6404a04ba80ca8f3eae.tar.zst
freebsd-ports-gnome-2c6c9b9e8c6da5123622f6404a04ba80ca8f3eae.zip
Update to 0.17.0.
Submitted by TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp>. PR: 40728 Submitted by: Michael Lyngboel <lyngbol@wheel.dk>
Diffstat (limited to 'audio/gqmpeg-devel/Makefile')
-rw-r--r--audio/gqmpeg-devel/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/gqmpeg-devel/Makefile b/audio/gqmpeg-devel/Makefile
index 99e1aabe3417..e5b01ee67ce9 100644
--- a/audio/gqmpeg-devel/Makefile
+++ b/audio/gqmpeg-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gqmpeg
-PORTVERSION= 0.16.0
+PORTVERSION= 0.17.0
CATEGORIES+= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -20,6 +20,7 @@ RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
.endif
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GTK= yes
USE_LIBTOOL= yes
@@ -47,11 +48,12 @@ pre-everything::
.endif
post-patch:
- @find ${WRKSRC} -name 'Makefile.in*' | xargs ${PERL} -pi.orig -e \
- 's|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @${FIND} ${WRKSRC} -name 'Makefile.in*' | ${XARGS} ${REINPLACE_CMD} \
+ -E -e 's|(SUBDIRS[[:space:]]+=.*)intl|\1| ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ;'
.if defined(WITH_MPG321)
- @${PERL} -pi.orig -e \
- 's/^(#define MPG123_BINARY "mpg)123"/$${1}321"/' \
+ @${REINPLACE_CMD} -E -e \
+ 's/^(#define MPG123_BINARY "mpg)123"/\1321"/' \
${WRKSRC}/src/io_mpg123.c
.endif