aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liba52/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-16 21:21:53 +0800
committerlioux <lioux@FreeBSD.org>2001-10-16 21:21:53 +0800
commitb306f28f4c6a1bb1243aad3cb0b1af2aaebeb5f5 (patch)
tree16bdc3291814ea96bcc9120fe2217fda5b790193 /audio/liba52/Makefile
parent54fd09c4a8f9a510ea51250e8e25cdfaf2fd400b (diff)
downloadfreebsd-ports-gnome-b306f28f4c6a1bb1243aad3cb0b1af2aaebeb5f5.tar.gz
freebsd-ports-gnome-b306f28f4c6a1bb1243aad3cb0b1af2aaebeb5f5.tar.zst
freebsd-ports-gnome-b306f28f4c6a1bb1243aad3cb0b1af2aaebeb5f5.zip
New port liba52 version 0.7.1b: A free library for decoding ATSC
A/52 streams, aka AC-3
Diffstat (limited to 'audio/liba52/Makefile')
-rw-r--r--audio/liba52/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile
new file mode 100644
index 000000000000..17a399530237
--- /dev/null
+++ b/audio/liba52/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: liba52
+# Date created: Tue Oct 16 10:43:56 BRST 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= liba52
+PORTVERSION= 0.7.1.b
+CATEGORIES= audio
+MASTER_SITES= http://liba52.sourceforge.net/files/
+DISTNAME= a52dec-${PORTVERSION:S/.b/b/}
+
+MAINTAINER= lioux@FreeBSD.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-oss --enable-shared
+USE_LIBTOOL= yes
+
+MAN1= a52dec.1 extract_a52.1
+
+.ifndef(WITH_OPTIMIZED_CFLAGS)
+USE_AUTOCONF= yes
+
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.in
+.endif
+
+pre-everything::
+.ifndef(WITH_OPTIMIZED_CFLAGS)
+ @${ECHO_MSG} ">>>"
+ @${ECHO_MSG} ">>> You can enable extra optimizations by defining WITH_OPTIMIZED_CFLAGS."
+ @${ECHO_MSG} ">>> For example, 'make WITH_OPTIMIZED_CFLAGS=yes'"
+ @${ECHO_MSG} ">>>"
+.endif
+
+post-configure:
+ @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/liba52.txt ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>