Support staging

Use modern LIB_DEPENDS
This commit is contained in:
Baptiste Daroussin 2013-11-24 18:59:34 +00:00
parent 3a207b3059
commit c1426563ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334764

View file

@ -16,10 +16,9 @@ DISTNAME= ${PORTNAME}${PKGNAMEPREFIX}2.05
MAINTAINER= ports@FreeBSD.org
COMMENT= ModPlug-based plugin for beep-media-player
LIB_DEPENDS?= beep:${PORTSDIR}/multimedia/beep-media-player
LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug
LIB_DEPENDS= libeep.so:${PORTSDIR}/multimedia/beep-media-player \
libmodplug.so:${PORTSDIR}/audio/libmodplug
NO_STAGE= yes
USES= pkgconfig
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
@ -28,8 +27,8 @@ PLUGDIR?= lib/bmp/Input
PLIST_FILES= ${PLUGDIR}/libmodplugbmp.so
do-install:
@${MKDIR} ${PREFIX}/${PLUGDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGDIR}
${INSTALL_PROGRAM} ${WRKSRC}/modplugbmp/.libs/libmodplugbmp.so \
${PREFIX}/${PLUGDIR}
${STAGEDIR}${PREFIX}/${PLUGDIR}
.include <bsd.port.mk>