* Documentation cosmetics, requested by David Magda <dmagda@magda.ca>.
* Fix include path to enable building if an older version is already installed.
This commit is contained in:
parent
35c68c3161
commit
0f968f7d6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79042
@ -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
|
||||
|
||||
|
15
audio/flac/files/patch-man_flac.1
Normal file
15
audio/flac/files/patch-man_flac.1
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user