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:58 +00:00
parent 2c6af503e0
commit 5bb7cac7f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337521

View File

@ -12,7 +12,6 @@ COMMENT= Library to work with RAR archives
WRKSRC= ${WRKDIR}/unrar
NO_STAGE= yes
USES= gmake
MAKE_ARGS= CC="${CC}" CXX="${CXX}"
MAKEFILE= makefile.unix
@ -20,9 +19,9 @@ ALL_TARGET= lib
USE_LDCONFIG= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so ${PREFIX}/lib/libunrar.so.4
cd ${PREFIX}/lib && ${LN} -sf libunrar.so.4 libunrar.so
${MKDIR} ${PREFIX}/include/libunrar4
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar4/dll.hpp
${INSTALL_LIB} ${WRKSRC}/libunrar.so ${STAGEDIR}${PREFIX}/lib/libunrar.so.4
cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libunrar.so.4 libunrar.so
@${MKDIR} ${STAGEDIR}${PREFIX}/include/libunrar4
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${STAGEDIR}${PREFIX}/include/libunrar4/dll.hpp
.include <bsd.port.mk>