aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liboggz
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-11-25 02:29:49 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-11-25 02:29:49 +0800
commit0614f380c1fd41c66d0f8fb0a94b2e703064b988 (patch)
treeceb44f5c98e94dca456e1160215a83a361d51f4c /audio/liboggz
parent203c6dcaeb7fa6131752897f8391ea662443a47c (diff)
downloadfreebsd-ports-gnome-0614f380c1fd41c66d0f8fb0a94b2e703064b988.tar.gz
freebsd-ports-gnome-0614f380c1fd41c66d0f8fb0a94b2e703064b988.tar.zst
freebsd-ports-gnome-0614f380c1fd41c66d0f8fb0a94b2e703064b988.zip
- Add LICENSE
- Strip shared library - Pet portlint: move LIB_DEPENDS upward - Use PORTDOCS - Cosmetic change - Take maintainership
Diffstat (limited to 'audio/liboggz')
-rw-r--r--audio/liboggz/Makefile22
-rw-r--r--audio/liboggz/pkg-plist90
2 files changed, 12 insertions, 100 deletions
diff --git a/audio/liboggz/Makefile b/audio/liboggz/Makefile
index 8f1bb66ec2d9..f98cc2478142 100644
--- a/audio/liboggz/Makefile
+++ b/audio/liboggz/Makefile
@@ -7,23 +7,25 @@ CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/liboggz/ \
http://wickedmachine.net/mirror/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Simple Ogg API
-OPTIONS_DEFINE= DOCS
+LICENSE= BSD3CLAUSE
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg
-USES= pkgconfig pathfix libtool
-USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
+CONFIGURE_ARGS= --program-transform-name="" --with-ogg=${LOCALBASE}
+CONFIGURE_ENV= DOCBOOKTOMAN=false HAVE_DOCBOOK2HTML=false HAVE_DOXYGEN=false HAVE_DOXYGEN=false
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-ogg=${LOCALBASE} --program-transform-name=""
-CONFIGURE_ENV= HAVE_DOCBOOK2HTML=false DOCBOOKTOMAN=false HAVE_DOXYGEN=false HAVE_VALGRIND=false
+INSTALL_TARGET= install-strip
+USE_LDCONFIG= yes
+USES= libtool pathfix pkgconfig
+
+PORTDOCS= *
-# 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 '/-= timezone;/d' ${WRKSRC}/src/tools/oggz-chop/httpdate.c ${WRKSRC}/src/tools/oggz-chop/httpdate_test.c
.include <bsd.port.mk>
diff --git a/audio/liboggz/pkg-plist b/audio/liboggz/pkg-plist
index 8d847f8ad6d5..14d7928a67e6 100644
--- a/audio/liboggz/pkg-plist
+++ b/audio/liboggz/pkg-plist
@@ -42,93 +42,3 @@ 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
-%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
-%%PORTDOCS%%%%DOCSDIR%%/html/files.html
-%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
-%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars.html
-%%PORTDOCS%%%%DOCSDIR%%/html/globals.html
-%%PORTDOCS%%%%DOCSDIR%%/html/globals_defs.html
-%%PORTDOCS%%%%DOCSDIR%%/html/globals_enum.html
-%%PORTDOCS%%%%DOCSDIR%%/html/globals_eval.html
-%%PORTDOCS%%%%DOCSDIR%%/html/globals_func.html
-%%PORTDOCS%%%%DOCSDIR%%/html/globals_type.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__basics.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__building.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__configuration.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__force__feed.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__hungry.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__install.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__metric.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__read__api.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__seek__api.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__seek__semantics.html
-%%PORTDOCS%%%%DOCSDIR%%/html/group__write__api.html
-%%PORTDOCS%%%%DOCSDIR%%/html/index.html
-%%PORTDOCS%%%%DOCSDIR%%/html/modules.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__comments_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__comments_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__constants_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__constants_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__deprecated_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__deprecated_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__io_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__io_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__off__t_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__off__t_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__packet_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__packet_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__read_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__read_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__seek_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__seek_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__stream_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__stream_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__table_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__table_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__write_8h_source.html
-%%PORTDOCS%%%%DOCSDIR%%/html/oggz__write_8h.html
-%%PORTDOCS%%%%DOCSDIR%%/html/structOggzComment.html
-%%PORTDOCS%%%%DOCSDIR%%/html/structoggz__packet.html
-%%PORTDOCS%%%%DOCSDIR%%/html/structoggz__position.html
-%%PORTDOCS%%%%DOCSDIR%%/html/tab_b.gif
-%%PORTDOCS%%%%DOCSDIR%%/html/tab_l.gif
-%%PORTDOCS%%%%DOCSDIR%%/html/tab_r.gif
-%%PORTDOCS%%%%DOCSDIR%%/html/tabs.css
-%%PORTDOCS%%%%DOCSDIR%%/latex/Makefile
-%%PORTDOCS%%%%DOCSDIR%%/latex/annotated.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/doxygen.sty
-%%PORTDOCS%%%%DOCSDIR%%/latex/files.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__basics.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__building.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__configuration.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__force__feed.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__hungry.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__install.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__metric.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__read__api.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__seek__api.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__seek__semantics.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/group__write__api.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/index.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/modules.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__comments_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__constants_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__deprecated_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__io_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__off__t_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__packet_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__read_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__seek_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__stream_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__table_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/oggz__write_8h.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/refman.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/structOggzComment.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/structoggz__packet.tex
-%%PORTDOCS%%%%DOCSDIR%%/latex/structoggz__position.tex