mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= texpower
|
|
PORTVERSION= 0.2
|
|
PORTREVISION= 6
|
|
CATEGORIES= print
|
|
MASTER_SITES= SF
|
|
PKGNAMEPREFIX= latex-
|
|
DISTNAME= ${PORTNAME}-0-2
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Creating dynamic online presentations with LaTeX
|
|
|
|
USE_TEX= tetex latex
|
|
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} \
|
|
MKTEXLSR=${MKTEXLSR}
|
|
|
|
TEXMFLOCAL= share/texmf-local
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
DOCFILES= 00readme.txt 01install.txt \
|
|
manual.pdf powersem.pdf texpower.pdf
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-build:
|
|
@(cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
|
@(cd ${BUILD_WRKSRC}/tpslifonts && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.sty *.cls *.cfg \
|
|
${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}
|
|
${MKDIR} ${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}/tpslifonts
|
|
cd ${WRKSRC}/tpslifonts && ${INSTALL_DATA} *.sty \
|
|
${PREFIX}/${TEXMFLOCAL}/tex/latex/${PORTNAME}/tpslifonts
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
${MKTEXLSR}
|
|
|
|
.include <bsd.port.mk>
|