[Midnightbsd-cvs] mports [18148] trunk/audio/faac: set license
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 14 23:41:27 EDT 2015
Revision: 18148
http://svnweb.midnightbsd.org/mports/?rev=18148
Author: laffer1
Date: 2015-03-14 23:41:26 -0400 (Sat, 14 Mar 2015)
Log Message:
-----------
set license
Modified Paths:
--------------
trunk/audio/faac/Makefile
trunk/audio/faac/pkg-plist
Modified: trunk/audio/faac/Makefile
===================================================================
--- trunk/audio/faac/Makefile 2015-03-15 03:38:53 UTC (rev 18147)
+++ trunk/audio/faac/Makefile 2015-03-15 03:41:26 UTC (rev 18148)
@@ -2,6 +2,7 @@
PORTNAME= faac
PORTVERSION= 1.28
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}
@@ -8,20 +9,19 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= MPEG-2 and MPEG-4 AAC audio encoder
-LICENSE= restricted
+LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
+LIB_DEPENDS= libmp4v2.so:${PORTSDIR}/multimedia/mp4v2
RESTRICTED= Distribution in binary form is prohibited
-USES= gmake tar:bzip2
-USE_DOS2UNIX= yes
-USES= aclocal autoheader automake autoconf libtool
-ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
-AUTOMAKE_ARGS= --add-missing
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- LIBS="-lmp4v2"
+USES= autoreconf dos2unix gmake libtool tar:bzip2
+INSTALL_TARGET= install-strip
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-mp4v2
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
@@ -28,6 +28,8 @@
post-patch:
@${ECHO_CMD} "" >> ${WRKSRC}/libfaac/psych.h
+ @${REINPLACE_CMD} -e 's|<mp4\.h>|<mp4v2/mp4v2.h>|g' \
+ ${WRKSRC}/frontend/main.c \
pre-configure:
@cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake
Modified: trunk/audio/faac/pkg-plist
===================================================================
--- trunk/audio/faac/pkg-plist 2015-03-15 03:38:53 UTC (rev 18147)
+++ trunk/audio/faac/pkg-plist 2015-03-15 03:41:26 UTC (rev 18148)
@@ -4,3 +4,5 @@
lib/libfaac.a
lib/libfaac.so
lib/libfaac.so.0
+lib/libfaac.so.0.0.0
+man/man1/faac.1.gz
More information about the Midnightbsd-cvs
mailing list