aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-23 21:33:59 +0800
committerbapt <bapt@FreeBSD.org>2013-09-23 21:33:59 +0800
commit7e6228a93bc92334a3f08c3d38f1290a15379d7c (patch)
tree8bcb7dcaf7065482fb39ae8ab19dae5b20b8e599
parenta128055a3aba1b5c9c23d2bebcedb47a5688457e (diff)
downloadfreebsd-ports-graphics-7e6228a93bc92334a3f08c3d38f1290a15379d7c.tar.gz
freebsd-ports-graphics-7e6228a93bc92334a3f08c3d38f1290a15379d7c.tar.zst
freebsd-ports-graphics-7e6228a93bc92334a3f08c3d38f1290a15379d7c.zip
Convert to stage,
modernize LIB_DEPENDS, Remove useless pre.mk/post.mk
-rw-r--r--audio/faac/Makefile9
-rw-r--r--audio/faac/pkg-plist1
2 files changed, 3 insertions, 7 deletions
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index 33115c3b0b8..7e50d29d835 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -10,12 +10,11 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= MPEG-2 and MPEG-4 AAC audio encoder
-LIB_DEPENDS= mp4v2.10:${PORTSDIR}/multimedia/mp4v2
+LIB_DEPENDS= libmp4v2.so:${PORTSDIR}/multimedia/mp4v2
RESTRICTED= Distribution in binary form is prohibited
USES= gmake
-NO_STAGE= yes
USE_BZIP2= yes
USE_DOS2UNIX= yes
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool
@@ -26,10 +25,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-MAN1= faac.1
-
-.include <bsd.port.pre.mk>
-
post-patch:
@${ECHO_CMD} "" >> ${WRKSRC}/libfaac/psych.h
@${REINPLACE_CMD} -e 's|<mp4\.h>|<mp4v2/mp4v2.h>|g' \
@@ -38,4 +33,4 @@ post-patch:
pre-configure:
@cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/faac/pkg-plist b/audio/faac/pkg-plist
index c284d13bcca..785d270e50f 100644
--- a/audio/faac/pkg-plist
+++ b/audio/faac/pkg-plist
@@ -5,3 +5,4 @@ lib/libfaac.a
lib/libfaac.la
lib/libfaac.so
lib/libfaac.so.0
+man/man1/faac.1.gz