summaryrefslogtreecommitdiff
path: root/audio/mp3asm
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-08-30 05:09:06 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-08-30 05:09:06 +0000
commit3fc821f9cf815b4d4bd3e21890ea1a73d22b4e11 (patch)
tree9bf5fdf145fdb6ef332a7ec40e8b95dd0708624c /audio/mp3asm
parentremove ports/devel/cpp2html, which is included in textproc/source-highlight (diff)
- update to 0.1.3
- install documentation
Notes
Notes: svn path=/head/; revision=47137
Diffstat (limited to 'audio/mp3asm')
-rw-r--r--audio/mp3asm/Makefile16
-rw-r--r--audio/mp3asm/distinfo2
-rw-r--r--audio/mp3asm/files/patch-configure.in12
-rw-r--r--audio/mp3asm/pkg-plist3
4 files changed, 31 insertions, 2 deletions
diff --git a/audio/mp3asm/Makefile b/audio/mp3asm/Makefile
index d5912a1856de..166ee4ca143b 100644
--- a/audio/mp3asm/Makefile
+++ b/audio/mp3asm/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= mp3asm
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,9 +15,23 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/mp3asm-0.1
+
+post-extract:
+ @${RM} ${WRKSRC}/config.cache
+
post-patch:
@${PERL} -pi -e "s,getprogname,_getprogname,g" ${WRKSRC}/src/mp3asm.c
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in Changelog README
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
.include <bsd.port.mk>
diff --git a/audio/mp3asm/distinfo b/audio/mp3asm/distinfo
index 848e298cef6b..e626cb30a9fc 100644
--- a/audio/mp3asm/distinfo
+++ b/audio/mp3asm/distinfo
@@ -1 +1 @@
-MD5 (mp3asm-0.1.2.tar.gz) = ee4dfa1ec36f46ad5f2286dd685e5d79
+MD5 (mp3asm-0.1.3.tar.gz) = e056095fe7a7455706acae882dcce6e2
diff --git a/audio/mp3asm/files/patch-configure.in b/audio/mp3asm/files/patch-configure.in
new file mode 100644
index 000000000000..889ad46f7f03
--- /dev/null
+++ b/audio/mp3asm/files/patch-configure.in
@@ -0,0 +1,12 @@
+--- configure.in.orig Thu Apr 12 00:21:30 2001
++++ configure.in Thu Aug 30 00:19:21 2001
+@@ -7,7 +7,8 @@
+ dnl Checks for programs.
+ AC_PROG_LN_S
+
+-CFLAGS="-g -O -Wall"
++CC="$CC"
++CFLAGS="-g -Wall $CFLAGS"
+
+ dnl Checks for libraries.
+
diff --git a/audio/mp3asm/pkg-plist b/audio/mp3asm/pkg-plist
index f30d2d76d074..b89aa5cc1e0a 100644
--- a/audio/mp3asm/pkg-plist
+++ b/audio/mp3asm/pkg-plist
@@ -1 +1,4 @@
bin/mp3asm
+%%PORTDOCS%%share/doc/mp3asm/Changelog
+%%PORTDOCS%%share/doc/mp3asm/README
+%%PORTDOCS%%@dirrm share/doc/mp3asm