1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2013-12-26 14:36:02 +00:00
parent 9065523e03
commit 2c6af503e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337520

View File

@ -13,16 +13,15 @@ COMMENT= Library to work with RAR archives
WRKSRC= ${WRKDIR}/unrar
NO_STAGE= yes
USES= gmake
MAKEFILE= makefile.unix
ALL_TARGET= lib
USE_LDCONFIG= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so.3 ${PREFIX}/lib/
cd ${PREFIX}/lib && ${LN} -sf libunrar.so.3 libunrar.so
${MKDIR} ${PREFIX}/include/libunrar3
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar3/dll.hpp
${INSTALL_LIB} ${WRKSRC}/libunrar.so.3 ${STAGEDIR}${PREFIX}/lib/
cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libunrar.so.3 libunrar.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/libunrar3
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${STAGEDIR}${PREFIX}/include/libunrar3/dll.hpp
.include <bsd.port.mk>