Lines 12-34
Link Here
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= Monkey's Audio Codec non-win32 port |
13 |
COMMENT= Monkey's Audio Codec non-win32 port |
14 |
|
14 |
|
15 |
LIB_DEPENDS= libbeep.so:${PORTSDIR}/multimedia/beep-media-player \ |
15 |
LIB_DEPENDS= libmac.so:${PORTSDIR}/audio/mac \ |
16 |
libmac.so:${PORTSDIR}/audio/mac |
16 |
libbeep.so:${PORTSDIR}/multimedia/beep-media-player |
17 |
|
17 |
|
18 |
USES= gmake pkgconfig |
18 |
USES= gmake pkgconfig |
19 |
GNU_CONFIGURE= yes |
19 |
USE_AUTOTOOLS= libtoolize aclocal automake autoconf |
20 |
USE_AUTOTOOLS= autoconf libtool |
20 |
LIBTOOLIZE_ARGS=--force --copy |
21 |
CPPFLAGS+= "-I${LOCALBASE}/include" |
21 |
AUTOMAKE_ARGS= --add-missing --copy |
22 |
PLUGDIR= lib/bmp/Input |
22 |
|
23 |
PLUGFILE= lib${PKGNAMEPREFIX}${PORTNAME}.so |
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
PLIST_FILES= ${PLUGDIR}/${PLUGFILE} |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
25 |
|
26 |
PLIST_FILES= lib/bmp/Input/libbmp-mac.so |
25 |
|
27 |
|
26 |
post-patch: |
28 |
post-patch: |
27 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ |
29 |
@${REINPLACE_CMD} -e \ |
28 |
's|-D.*_DISABLE_DEPRECATED||g' |
30 |
's|-D.*_DISABLE_DEPRECATED|| ; \ |
|
|
31 |
s|@BMP_LIBS@|@GTK_LIBS@|' ${WRKSRC}/src/Makefile.am |
29 |
|
32 |
|
30 |
do-install: |
33 |
do-install: |
31 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGDIR} |
34 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/bmp/Input |
32 |
${INSTALL_LIB} ${WRKSRC}/src/.libs/${PLUGFILE} ${STAGEDIR}${PREFIX}/${PLUGDIR}/ |
35 |
(cd ${WRKSRC}/src/.libs && ${INSTALL_LIB} libbmp-mac.so \ |
|
|
36 |
${STAGEDIR}${PREFIX}/lib/bmp/Input) |
33 |
|
37 |
|
34 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |