aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2009-06-16 12:16:13 +0800
committerpgollucci <pgollucci@FreeBSD.org>2009-06-16 12:16:13 +0800
commitf880c54f4ab1b2d49a1b1e41a4e060e9d858a70b (patch)
tree3b65d267bf56cd82ea4f8dcaa4398af63d1922b6 /print
parent2119ea31a19903896b4c55d7a15dbc4afd14f458 (diff)
downloadfreebsd-ports-gnome-f880c54f4ab1b2d49a1b1e41a4e060e9d858a70b.tar.gz
freebsd-ports-gnome-f880c54f4ab1b2d49a1b1e41a4e060e9d858a70b.tar.zst
freebsd-ports-gnome-f880c54f4ab1b2d49a1b1e41a4e060e9d858a70b.zip
- Correcting wrong permission set by the current port on the installation
directory. - Other Small fixes. PR: ports/133944 Approved by: maintainer Submitted by: Koji Yokota <uji@room520-1.yokota-s.otaru-uc.ac.jp>
Diffstat (limited to 'print')
-rw-r--r--print/latex-prettyref/Makefile12
-rw-r--r--print/latex-prettyref/pkg-plist1
2 files changed, 9 insertions, 4 deletions
diff --git a/print/latex-prettyref/Makefile b/print/latex-prettyref/Makefile
index dbf9113b175f..fa91b221f78b 100644
--- a/print/latex-prettyref/Makefile
+++ b/print/latex-prettyref/Makefile
@@ -7,6 +7,7 @@
PORTNAME= latex-prettyref
PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib
@@ -20,23 +21,26 @@ BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
USE_ZIP= yes
+PLIST_SUB= MKTEXLSR=${MKTEXLSR}
-TEXMFDIR= share/texmf
-STYDIR= tex/latex/${PORTNAME:S/^latex-//}
-DOCSDIR= doc/latex/${PORTNAME:S/^latex-//}
+TEXMFDIR?= share/texmf
+STYDIR?= tex/latex/${PORTNAME:S/^latex-//}
+DOCSDIR?= doc/latex/${PORTNAME:S/^latex-//}
INSFILE= ${PORTNAME:S/^latex-//}.ins
STYFILE= ${PORTNAME:S/^latex-//}.sty
PDFFILE= ${PORTNAME:S/^latex-//}.pdf
-MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+MKTEXLSR?= ${LOCALBASE}/bin/mktexlsr
do-build:
@( cd ${WRKSRC} && tex ${INSFILE} )
do-install:
@( cd ${WRKSRC} && \
+ ${MKDIR} ${PREFIX}/${TEXMFDIR}/${STYDIR} && \
${COPYTREE_SHARE} "${STYFILE}" ${PREFIX}/${TEXMFDIR}/${STYDIR} )
.if !defined(NOPORTDOCS)
@( cd ${WRKSRC} && \
+ ${MKDIR} ${PREFIX}/${TEXMFDIR}/${DOCSDIR} && \
${COPYTREE_SHARE} "${PDFFILE}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} )
.endif
diff --git a/print/latex-prettyref/pkg-plist b/print/latex-prettyref/pkg-plist
index ce9a33dac475..7465e20f88a2 100644
--- a/print/latex-prettyref/pkg-plist
+++ b/print/latex-prettyref/pkg-plist
@@ -2,3 +2,4 @@
share/texmf/tex/latex/prettyref/prettyref.sty
%%PORTDOCS%%@dirrm share/texmf/doc/latex/prettyref
@dirrm share/texmf/tex/latex/prettyref
+@unexec %%MKTEXLSR%%