Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= faad2 |
8 |
PORTNAME= faad2 |
9 |
PORTVERSION= 2.0 |
9 |
PORTVERSION= 2.0 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= audio |
11 |
CATEGORIES= audio |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= faac |
13 |
MASTER_SITE_SUBDIR= faac |
Lines 22-37
Link Here
|
22 |
|
22 |
|
23 |
USE_AUTOMAKE_VER= 15 |
23 |
USE_AUTOMAKE_VER= 15 |
24 |
USE_AUTOHEADER= yes |
24 |
USE_AUTOHEADER= yes |
25 |
USE_AUTOHEADER= yes |
|
|
26 |
AUTOMAKE_ARGS= --add-missing |
25 |
AUTOMAKE_ARGS= --add-missing |
27 |
|
26 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
28 |
USE_GETOPT_LONG= yes |
27 |
USE_GETOPT_LONG= yes |
29 |
GNU_CONFIGURE= yes |
28 |
GNU_CONFIGURE= yes |
30 |
USE_GMAKE= yes |
29 |
USE_GMAKE= yes |
31 |
USE_LIBTOOL_VER= 13 |
30 |
USE_LIBTOOL_VER= 13 |
32 |
USE_REINPLACE= yes |
31 |
USE_REINPLACE= yes |
33 |
|
32 |
|
34 |
CONFIGURE_ARGS= --program-transform-name='' --with-mp4v2 |
33 |
CONFIGURE_ARGS= --with-mp4v2 --with-drm |
35 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ |
34 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ |
36 |
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ |
35 |
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ |
37 |
|
36 |
|
Lines 44-49
Link Here
|
44 |
# pre-configure will not work since *AUTO* tools happen in-between |
43 |
# pre-configure will not work since *AUTO* tools happen in-between |
45 |
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \ |
44 |
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \ |
46 |
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake |
45 |
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake |
|
|
46 |
@${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \ |
47 |
${WRKSRC}/aclocal.m4 |
47 |
# CFLAGS safeness |
48 |
# CFLAGS safeness |
48 |
@${FIND} ${WRKSRC} -type f -name Makefile.am | \ |
49 |
@${FIND} ${WRKSRC} -type f -name Makefile.am | \ |
49 |
${XARGS} -n 5 -x \ |
50 |
${XARGS} -n 5 -x \ |
Lines 57-64
Link Here
|
57 |
post-install: |
58 |
post-install: |
58 |
@${INSTALL_DATA} ${WRKSRC}/common/mp4v2/systems.h ${PREFIX}/include |
59 |
@${INSTALL_DATA} ${WRKSRC}/common/mp4v2/systems.h ${PREFIX}/include |
59 |
|
60 |
|
60 |
.include <bsd.port.pre.mk> |
61 |
.include <bsd.port.mk> |
61 |
|
|
|
62 |
CONFIGURE_ARGS+= --build=${CONFIGURE_TARGET} |
63 |
|
64 |
.include <bsd.port.post.mk> |