aboutsummaryrefslogtreecommitdiff
path: root/audio/flac
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-04-15 23:38:24 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-04-15 23:38:24 +0000
commit0f968f7d6cd099c684f4bacb9defad7530e18d5c (patch)
treea42cef615eb6d71b2357acfe7e69b53c423f7365 /audio/flac
parent35c68c3161c123098dafc7daf3d6c12aedb6e7ab (diff)
downloadports-0f968f7d6cd099c684f4bacb9defad7530e18d5c.tar.gz
ports-0f968f7d6cd099c684f4bacb9defad7530e18d5c.zip
Notes
Diffstat (limited to 'audio/flac')
-rw-r--r--audio/flac/Makefile6
-rw-r--r--audio/flac/files/patch-man_flac.115
2 files changed, 21 insertions, 0 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index 0a06bf95d8fb..992b7783d07a 100644
--- a/audio/flac/Makefile
+++ b/audio/flac/Makefile
@@ -7,6 +7,7 @@
PORTNAME= flac
PORTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -37,11 +38,13 @@ PLIST_SUB= XMMS="@comment "
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.endif
+USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS+=--enable-sse --enable-3dnow \
--with-libiconv-prefix="${LOCALBASE}" \
--with-ogg="${LOCALBASE}"
+CONFIGURE_ENV+= CPPFLAGS="-I${WRKSRC}/include"
.if defined(NOPORTDOCS)
MAKE_ENV= DOC=""
@@ -56,6 +59,9 @@ MAN1= flac.1 metaflac.1
post-configure:
@${RM} -rf ${WRKSRC}/obj
+post-build:
+ ${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' ${WRKSRC}/man/flac.1
+
test: build
@cd ${WRKSRC}; make check
diff --git a/audio/flac/files/patch-man_flac.1 b/audio/flac/files/patch-man_flac.1
new file mode 100644
index 000000000000..2f41f9cacb68
--- /dev/null
+++ b/audio/flac/files/patch-man_flac.1
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- man/flac.1.orig Wed Apr 16 00:53:22 2003
++++ man/flac.1 Wed Apr 16 00:54:05 2003
+@@ -353,8 +353,7 @@
+ .PP
+ The programs are documented fully by HTML format
+ documentation, available in
+-\fI/usr/share/doc/flac/html\fR on
+-Debian GNU/Linux systems.
++\fI%%PREFIX%%/share/doc/flac/html\fR.
+ .SH "AUTHOR"
+ .PP
+ This manual page was written by Matt Zimmerman <mdz@debian.org> for