2012-12-10 14:43:43 +01:00
|
|
|
# Created by: Stefan Walter <sw@gegenunendlich.de>
|
2003-11-10 20:40:17 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ppower4
|
|
|
|
PORTVERSION= 0.9.4
|
2011-05-02 14:44:53 +02:00
|
|
|
PORTREVISION= 7
|
2003-11-10 20:40:17 +01:00
|
|
|
CATEGORIES= textproc java
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= TEX_CTAN/support/${PORTNAME}
|
2003-11-10 20:40:17 +01:00
|
|
|
DISTFILES= pp4sty.zip pp4p.jar manual.pdf leveldemo.zip
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_ONLY= pp4sty.zip leveldemo.zip
|
|
|
|
|
2008-05-05 16:12:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-10 20:40:17 +01:00
|
|
|
COMMENT= Post processor for PDF presentations made with (La)TeX
|
|
|
|
|
2014-03-10 18:25:25 +01:00
|
|
|
USES= zip
|
2013-05-11 19:58:55 +02:00
|
|
|
USE_TEX= latex
|
2006-08-28 20:40:20 +02:00
|
|
|
USE_JAVA= yes
|
2012-12-10 14:43:43 +01:00
|
|
|
JAVA_VERSION= 1.6+
|
2003-11-10 20:40:17 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2006-08-28 20:40:20 +02:00
|
|
|
JAR_DIR= ${JAVASHAREDIR}/${PORTNAME}
|
2003-11-10 20:40:17 +01:00
|
|
|
STY_DIR= ${PREFIX}/share/texmf/tex/latex/${PORTNAME}
|
|
|
|
STY_FILES= ${WRKDIR}/pause.sty ${WRKDIR}/background.sty \
|
|
|
|
${WRKDIR}/pp4link.sty ${WRKDIR}/mpmulti.sty
|
|
|
|
EXAMPLE_FILES= ${WRKDIR}/leveldemo.tex
|
|
|
|
.for i in 1 2 3 4 5 6 7
|
|
|
|
EXAMPLE_FILES+= ${WRKDIR}/example.${i}
|
|
|
|
.endfor
|
|
|
|
PLIST_SUB= STY_DIR="${STY_DIR:S,^${PREFIX}/,,}" \
|
|
|
|
JAR_DIR="${JAR_DIR:S,^${PREFIX}/,,}"
|
|
|
|
|
2006-08-28 20:40:20 +02:00
|
|
|
SUB_FILES= ppower4.sh
|
|
|
|
SUB_LIST= JARFILE=${JAR_DIR}/pp4p.jar
|
2003-11-10 20:40:17 +01:00
|
|
|
|
2014-08-06 06:34:23 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-08-04 01:51:48 +02:00
|
|
|
|
2003-11-10 20:40:17 +01:00
|
|
|
do-install:
|
2014-08-04 01:51:48 +02:00
|
|
|
@${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
|
2003-11-10 20:40:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|