aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-18 23:49:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-18 23:49:55 +0000
commite8c3fdba758d5bc67af28f22315bfb3f44b8a002 (patch)
treec538814eb6d0381592ca8299edabf59c54af9e85 /audio
parentbf96e81a816dbed273bb1c38c89e9c27810c8fd0 (diff)
downloadports-e8c3fdba758d5bc67af28f22315bfb3f44b8a002.tar.gz
ports-e8c3fdba758d5bc67af28f22315bfb3f44b8a002.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/liba52/Makefile14
-rw-r--r--audio/liba52/pkg-plist2
2 files changed, 6 insertions, 10 deletions
diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile
index 3710422087a3..c76e9f02e973 100644
--- a/audio/liba52/Makefile
+++ b/audio/liba52/Makefile
@@ -15,7 +15,6 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_AUTOTOOLS= libtool
-NO_STAGE= yes
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-oss --enable-shared
@@ -36,8 +35,6 @@ DJBFFT_CONFIGURE_ON= --enable-djbfft
CFLAGS+= -fPIC
.endif
-MAN1= a52dec.1 extract_a52.1
-
HEADER_FILES= liba52/a52_internal.h
post-patch:
@@ -50,12 +47,9 @@ post-patch:
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/liba52.txt ${DOCSDIR}
-.endif
-.for file in ${HEADER_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/a52dec
-.endfor
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/liba52.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/liba52/a52_internal.h ${STAGEDIR}${PREFIX}/include/a52dec
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liba52.so.0
.include <bsd.port.post.mk>
diff --git a/audio/liba52/pkg-plist b/audio/liba52/pkg-plist
index c03996cc1c6f..f9f478677123 100644
--- a/audio/liba52/pkg-plist
+++ b/audio/liba52/pkg-plist
@@ -9,6 +9,8 @@ lib/liba52.so.0
lib/liba52.so
lib/liba52.la
lib/liba52.a
+man/man1/a52dec.1.gz
+man/man1/extract_a52.1.gz
%%PORTDOCS%%%%DOCSDIR%%/liba52.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/a52dec