aboutsummaryrefslogtreecommitdiff
path: root/print/texpower
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-08-19 18:26:02 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-08-19 18:26:02 +0000
commitf14e7de3d2a926669818c9cdb293e2f74e10a822 (patch)
tree6fe9ec8c437c753593ff863d081cae761d536044 /print/texpower
parentbd6a25cc84410df66a38ffc555a37890fc1627c8 (diff)
downloadports-f14e7de3d2a926669818c9cdb293e2f74e10a822.tar.gz
ports-f14e7de3d2a926669818c9cdb293e2f74e10a822.zip
Notes
Diffstat (limited to 'print/texpower')
-rw-r--r--print/texpower/Makefile37
-rw-r--r--print/texpower/distinfo4
-rw-r--r--print/texpower/pkg-plist26
3 files changed, 53 insertions, 14 deletions
diff --git a/print/texpower/Makefile b/print/texpower/Makefile
index 4cd87811ddf3..ab3f26b30c08 100644
--- a/print/texpower/Makefile
+++ b/print/texpower/Makefile
@@ -7,20 +7,45 @@
#
PORTNAME= texpower
-PORTVERSION= 0.0.9d
+PORTVERSION= 0.1.0b
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= latex-
+DISTNAME= ${PORTNAME}-0-1b
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= hrs@FreeBSD.org
COMMENT= Creating dynamic online presentations with LaTeX
-RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
-NO_BUILD= yes
+PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} \
+ MKTEXLSR=${MKTEXLSR}
+ALL_TARGET= unpack
+
+TEXMFLOCAL= share/texmf-local
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+DOCFILES= 00readme.txt 01install.txt manual.pdf
+
+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}/share/texmf/tex/latex/${PORTNAME}
- cd ${WRKSRC} && ${INSTALL_DATA} *.sty *.cls *.cfg ${PREFIX}/share/texmf/tex/latex/${PORTNAME}
+ ${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 !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
+.endif
+
+post-install:
+ ${MKTEXLSR}
.include <bsd.port.mk>
diff --git a/print/texpower/distinfo b/print/texpower/distinfo
index 653154cb675d..70f3e49d5292 100644
--- a/print/texpower/distinfo
+++ b/print/texpower/distinfo
@@ -1,2 +1,2 @@
-MD5 (texpower-0.0.9d.tar.gz) = c058dcd7c6050184319634d0cc8fc74d
-SIZE (texpower-0.0.9d.tar.gz) = 1068610
+MD5 (texpower-0-1b.tar.gz) = a08c81fbf1951f7390eb4de23fd944d1
+SIZE (texpower-0-1b.tar.gz) = 474815
diff --git a/print/texpower/pkg-plist b/print/texpower/pkg-plist
index 810219bfaa79..e65942f5e14f 100644
--- a/print/texpower/pkg-plist
+++ b/print/texpower/pkg-plist
@@ -1,6 +1,20 @@
-share/texmf/tex/latex/texpower/powersem.cls
-share/texmf/tex/latex/texpower/texpower.sty
-share/texmf/tex/latex/texpower/tpcolors.cfg
-share/texmf/tex/latex/texpower/tpoptions.cfg
-share/texmf/tex/latex/texpower/tpsettings.cfg
-@dirrm share/texmf/tex/latex/texpower
+@comment $FreeBSD$
+%%TEXMFLOCAL%%/tex/latex/texpower/automata.sty
+%%TEXMFLOCAL%%/tex/latex/texpower/fixseminar.sty
+%%TEXMFLOCAL%%/tex/latex/texpower/powersem.cls
+%%TEXMFLOCAL%%/tex/latex/texpower/texpower.sty
+%%TEXMFLOCAL%%/tex/latex/texpower/tpcolors.cfg
+%%TEXMFLOCAL%%/tex/latex/texpower/tplists.sty
+%%TEXMFLOCAL%%/tex/latex/texpower/tpoptions.cfg
+%%TEXMFLOCAL%%/tex/latex/texpower/tppstcol.sty
+%%TEXMFLOCAL%%/tex/latex/texpower/tpsem-a4.sty
+%%TEXMFLOCAL%%/tex/latex/texpower/tpsettings.cfg
+%%TEXMFLOCAL%%/tex/latex/texpower/tpslifonts/tpslifonts.sty
+@dirrm %%TEXMFLOCAL%%/tex/latex/texpower/tpslifonts
+@dirrm %%TEXMFLOCAL%%/tex/latex/texpower
+%%PORTDOCS%%%%DOCSDIR%%/00readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/01install.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%