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

- Add LICENSE

- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-11-29 09:00:41 +00:00
parent cb26a8d899
commit 50704f9903
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427369

View File

@ -13,12 +13,15 @@ EXTRACT_ONLY= pp4sty.zip leveldemo.zip
MAINTAINER= ports@FreeBSD.org
COMMENT= Post processor for PDF presentations made with (La)TeX
LICENSE= GPLv2 # version not really specified
USES= zip
USE_TEX= latex
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
NO_WRKSUBDIR= yes
NO_ARCH= yes
JAR_DIR= ${JAVASHAREDIR}/${PORTNAME}
STY_DIR= ${PREFIX}/share/texmf/tex/latex/${PORTNAME}
@ -35,17 +38,22 @@ SUB_FILES= ppower4.sh
SUB_LIST= JARFILE=${JAR_DIR}/pp4p.jar
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf \
${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLE_FILES} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${STY_DIR}
${INSTALL_DATA} ${STY_FILES} ${STAGEDIR}${STY_DIR}
@${MKDIR} ${STAGEDIR}${JAR_DIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pp4p.jar ${STAGEDIR}${JAR_DIR}
${INSTALL_SCRIPT} ${WRKDIR}/ppower4.sh ${STAGEDIR}${PREFIX}/bin/ppower4
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual.pdf \
${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLE_FILES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>