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

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-18 12:55:49 +00:00
parent d87e1deaf6
commit c2ba42b794
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348535

View File

@ -25,15 +25,17 @@ PLIST_FILES= bin/xnview-mp lib/xnview-mp/libQtCore.so.4 \
lib/xnview-mp/libQtGui.so.4 lib/xnview-mp/xnview
PLIST_DIRS= lib/xnview-mp
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|\.|${PREFIX}/lib/xnview-mp|" ${WRKSRC}/xnview.sh
do-install:
${MKDIR} ${PREFIX}/lib/xnview-mp
${INSTALL_SCRIPT} ${WRKSRC}/xnview.sh ${PREFIX}/bin/xnview-mp
${INSTALL_PROGRAM} ${WRKSRC}/libQtCore.so.4 ${PREFIX}/lib/xnview-mp/
${INSTALL_PROGRAM} ${WRKSRC}/libQtGui.so.4 ${PREFIX}/lib/xnview-mp/
${INSTALL_PROGRAM} ${WRKSRC}/xnview ${PREFIX}/lib/xnview-mp/
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xnview-mp
${INSTALL_SCRIPT} ${WRKSRC}/xnview.sh \
${STAGEDIR}${PREFIX}/bin/xnview-mp
${INSTALL_LIB} ${WRKSRC}/libQtCore.so.4 \
${STAGEDIR}${PREFIX}/lib/xnview-mp
${INSTALL_LIB} ${WRKSRC}/libQtGui.so.4 \
${STAGEDIR}${PREFIX}/lib/xnview-mp
${INSTALL_PROGRAM} ${WRKSRC}/xnview ${STAGEDIR}${PREFIX}/lib/xnview-mp
.include <bsd.port.mk>