aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 02:17:34 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 02:17:34 +0800
commit197b938887fb7fedc932db68089b12d22a9b2999 (patch)
tree5f4efa4a11a2df5ad0109c6ebd756b38d57fd9a6 /audio
parent9ee3fbf5905de7c28a4acc524d00a79ed11cf881 (diff)
downloadfreebsd-ports-gnome-197b938887fb7fedc932db68089b12d22a9b2999.tar.gz
freebsd-ports-gnome-197b938887fb7fedc932db68089b12d22a9b2999.tar.zst
freebsd-ports-gnome-197b938887fb7fedc932db68089b12d22a9b2999.zip
Support stage
Use pathfix instead manually patching
Diffstat (limited to 'audio')
-rw-r--r--audio/liboggz/Makefile27
-rw-r--r--audio/liboggz/pkg-plist13
2 files changed, 16 insertions, 24 deletions
diff --git a/audio/liboggz/Makefile b/audio/liboggz/Makefile
index 844faaa42057..aa036c23003e 100644
--- a/audio/liboggz/Makefile
+++ b/audio/liboggz/Makefile
@@ -10,42 +10,21 @@ MASTER_SITES= http://downloads.xiph.org/releases/liboggz/ \
MAINTAINER= jsa@FreeBSD.org
COMMENT= Simple Ogg API
+OPTIONS_DEFINE= DOCS
+
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg
USE_AUTOTOOLS= libtool
-NO_STAGE= yes
-USES= pkgconfig
+USES= pkgconfig pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ogg=${LOCALBASE} --program-transform-name=""
CONFIGURE_ENV= HAVE_DOCBOOK2HTML=false DOCBOOKTOMAN=false HAVE_DOXYGEN=false HAVE_VALGRIND=false
-MAN1= oggz.1 \
- oggz-diff.1 \
- oggz-dump.1 \
- oggz-info.1 \
- oggz-known-codecs.1 \
- oggz-merge.1 \
- oggz-chop.1 \
- oggz-sort.1 \
- oggz-rip.1 \
- oggz-comment.1 \
- oggz-scan.1 \
- oggz-validate.1 \
- oggz-codecs.1
-
-.include <bsd.port.options.mk>
-
# First REINPLACE_CMD line makes all timestimes relative to localtime, crude hack
post-patch:
@${REINPLACE_CMD} -e 's/timezone/0/' \
${WRKSRC}/src/tools/oggz-chop/httpdate.c \
${WRKSRC}/src/tools/oggz-chop/httpdate_test.c
- @${REINPLACE_CMD} -e '/^pkgconfigdir/s!=.*!= ${PREFIX}/libdata/pkgconfig!' \
- ${WRKSRC}/Makefile.in
-.if ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e '/^install-data-am/s!install-data-local!!' \
- ${WRKSRC}/doc/Makefile.in
-.endif
.include <bsd.port.mk>
diff --git a/audio/liboggz/pkg-plist b/audio/liboggz/pkg-plist
index cf7dd4b79a6b..9422fb5f707e 100644
--- a/audio/liboggz/pkg-plist
+++ b/audio/liboggz/pkg-plist
@@ -29,6 +29,19 @@ lib/liboggz.la
lib/liboggz.so
lib/liboggz.so.8
libdata/pkgconfig/oggz.pc
+man/man1/oggz-chop.1.gz
+man/man1/oggz-codecs.1.gz
+man/man1/oggz-comment.1.gz
+man/man1/oggz-diff.1.gz
+man/man1/oggz-dump.1.gz
+man/man1/oggz-info.1.gz
+man/man1/oggz-known-codecs.1.gz
+man/man1/oggz-merge.1.gz
+man/man1/oggz-rip.1.gz
+man/man1/oggz-scan.1.gz
+man/man1/oggz-sort.1.gz
+man/man1/oggz-validate.1.gz
+man/man1/oggz.1.gz
%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
%%PORTDOCS%%%%DOCSDIR%%/html/classes.html
%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css