1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- 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>
This commit is contained in:
Philip M. Gollucci 2009-06-16 04:16:13 +00:00
parent b1822a015f
commit fd9359bef0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235996
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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%%