aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-01-27 02:30:23 +0800
committernox <nox@FreeBSD.org>2014-01-27 02:30:23 +0800
commitdffc738194240d45ab8b379f83e7f7d588737597 (patch)
tree16af5f4539c07573b6895ef1b26193fa24b16684
parent84feacf6f86dbb980b628d7cb2ff2e1039515125 (diff)
downloadfreebsd-ports-graphics-dffc738194240d45ab8b379f83e7f7d588737597.tar.gz
freebsd-ports-graphics-dffc738194240d45ab8b379f83e7f7d588737597.tar.zst
freebsd-ports-graphics-dffc738194240d45ab8b379f83e7f7d588737597.zip
Stagify.
-rw-r--r--multimedia/projectx/Makefile30
1 files changed, 19 insertions, 11 deletions
diff --git a/multimedia/projectx/Makefile b/multimedia/projectx/Makefile
index c04d45b9099..ec52d55b155 100644
--- a/multimedia/projectx/Makefile
+++ b/multimedia/projectx/Makefile
@@ -22,7 +22,6 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/Project-X_${PORTVERSION}
EXTRACT_BEFORE_ARGS+= -aq
-NO_STAGE= yes
do-configure:
${SED} -e "s|^javac|${JAVAC}|" ${WRKSRC}/build.sh >${WRKSRC}/build-fbsd.sh
@@ -30,15 +29,24 @@ do-build:
cd ${WRKSRC} && ${MKDIR} build && ${SH} build-fbsd.sh
do-install:
- ${MKDIR} ${DATADIR}/lib
- ${INSTALL_DATA} ${WRKSRC}/ProjectX.jar ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/commons-net-1.3.0.jar ${DATADIR}/lib
- ${INSTALL_DATA} ${WRKSRC}/lib/jakarta-oro-2.0.8.jar ${DATADIR}/lib
- ${MKDIR} ${DATADIR}/htmls/images ${DATADIR}/htmls/de
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/htmls/*.html ${DATADIR}/htmls
- ${INSTALL_DATA} ${WRKSRC}/htmls/de/*.html ${DATADIR}/htmls/de
- ${INSTALL_DATA} ${WRKSRC}/htmls/images/* ${DATADIR}/htmls/images
- ${INSTALL_SCRIPT} ${WRKDIR}/project-x.sh ${PREFIX}/bin/project-x
+ ${MKDIR} ${STAGEDIR}${DATADIR}/lib
+ ${INSTALL_DATA} ${WRKSRC}/ProjectX.jar \
+ ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/lib/commons-net-1.3.0.jar \
+ ${STAGEDIR}${DATADIR}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/jakarta-oro-2.0.8.jar \
+ ${STAGEDIR}${DATADIR}/lib
+ ${MKDIR} ${STAGEDIR}${DATADIR}/htmls/images \
+ ${STAGEDIR}${DATADIR}/htmls/de
+ ${INSTALL_DATA} ${WRKSRC}/*.txt \
+ ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/htmls/*.html \
+ ${STAGEDIR}${DATADIR}/htmls
+ ${INSTALL_DATA} ${WRKSRC}/htmls/de/*.html \
+ ${STAGEDIR}${DATADIR}/htmls/de
+ ${INSTALL_DATA} ${WRKSRC}/htmls/images/* \
+ ${STAGEDIR}${DATADIR}/htmls/images
+ ${INSTALL_SCRIPT} ${WRKDIR}/project-x.sh \
+ ${STAGEDIR}${PREFIX}/bin/project-x
.include <bsd.port.mk>