aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-18 20:55:49 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-18 20:55:49 +0800
commitf8507d2609b2e10445893d8b08db9f0e9bd32486 (patch)
treee4c4359ad77def9bd3ec0e25806cd9ac674a6ba6
parent989f7aa765c5581424e9aae423501cf2ccb117bb (diff)
downloadfreebsd-ports-gnome-f8507d2609b2e10445893d8b08db9f0e9bd32486.tar.gz
freebsd-ports-gnome-f8507d2609b2e10445893d8b08db9f0e9bd32486.tar.zst
freebsd-ports-gnome-f8507d2609b2e10445893d8b08db9f0e9bd32486.zip
Support staging
-rw-r--r--graphics/linux-XnViewMP/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/linux-XnViewMP/Makefile b/graphics/linux-XnViewMP/Makefile
index 57893733efb2..969ad4f66458 100644
--- a/graphics/linux-XnViewMP/Makefile
+++ b/graphics/linux-XnViewMP/Makefile
@@ -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>