aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3asm/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-06 06:18:25 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-06 06:18:25 +0000
commit68244411b90d44db386add399816691f1ad09c68 (patch)
tree8a7d532668bfc37935d6bc07095ea4d849926ec3 /audio/mp3asm/Makefile
parent64a56ed9db5ceb7eec94869d9e57abe5842fd8b1 (diff)
downloadports-68244411b90d44db386add399816691f1ad09c68.tar.gz
ports-68244411b90d44db386add399816691f1ad09c68.zip
Notes
Diffstat (limited to 'audio/mp3asm/Makefile')
-rw-r--r--audio/mp3asm/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/audio/mp3asm/Makefile b/audio/mp3asm/Makefile
index 166ee4ca143b..84a48005a5b2 100644
--- a/audio/mp3asm/Makefile
+++ b/audio/mp3asm/Makefile
@@ -7,24 +7,29 @@
#
PORTNAME= mp3asm
-PORTVERSION= 0.1.3
+PORTVERSION= 0.1.3.1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
-GNU_CONFIGURE= yes
-USE_AUTOCONF= yes
-USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-0.1
-WRKSRC= ${WRKDIR}/mp3asm-0.1
+USE_BZIP2= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
post-extract:
@${RM} ${WRKSRC}/config.cache
post-patch:
- @${PERL} -pi -e "s,getprogname,_getprogname,g" ${WRKSRC}/src/mp3asm.c
+ @${REINPLACE_CMD} -e \
+ 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|getprogname|_getprogname|g' ${WRKSRC}/src/mp3asm.c
post-install:
.if !defined(NOPORTDOCS)