1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Use PATHFIX instead of hand crafted, artisnal, Makefile directives.

This commit is contained in:
Sean Bruno 2016-05-04 14:46:03 +00:00
parent 7e1e56fe92
commit f72a59630d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414603

View File

@ -3,6 +3,7 @@
PORTNAME= libshout-idjc
PORTVERSION= 2.4.1
PORTREVISION= 1
CATEGORIES= audio python
MASTER_SITES= SF/idjc/libshout-idjc/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@ -19,6 +20,7 @@ LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig autoreconf
PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
@ -28,10 +30,4 @@ MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} '/_XOPEN_SOURCE/d' ${WRKSRC}/configure
post-stage:
${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/shout-idjc.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/shout-idjc.pc
${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>