aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-02 21:55:39 +0800
committerbapt <bapt@FreeBSD.org>2014-07-02 21:55:39 +0800
commitefd4f9cb53c2655d18d2b6fd12d17749858245a7 (patch)
tree3ba3e46e4defb7388454ae5d365353b1e9b52327 /print
parentd594f80a9a74fbcbe9ef966530ab056a31d3036e (diff)
downloadfreebsd-ports-gnome-efd4f9cb53c2655d18d2b6fd12d17749858245a7.tar.gz
freebsd-ports-gnome-efd4f9cb53c2655d18d2b6fd12d17749858245a7.tar.zst
freebsd-ports-gnome-efd4f9cb53c2655d18d2b6fd12d17749858245a7.zip
Support stage
Diffstat (limited to 'print')
-rw-r--r--print/latex-ucs/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/print/latex-ucs/Makefile b/print/latex-ucs/Makefile
index 99821104201a..349b2723a6d2 100644
--- a/print/latex-ucs/Makefile
+++ b/print/latex-ucs/Makefile
@@ -11,10 +11,13 @@ EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
-COMMENT= A LaTeX package for using UTF-8 as input encoding
+COMMENT= LaTeX package for using UTF-8 as input encoding
+
+OPTIONS_DEFINE= DOCS
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
+SHEBANG_FILES= *.pl
USE_PERL5= run
USE_TEX= latex
PLIST_SUB= MKTEXLSR="${MKTEXLSR}" CLASSDIR=${CLASSDIR}
@@ -38,21 +41,15 @@ CONTRIB_FILES= UnicodeT.sfd autofe.sty c00enc.def c10enc.def \
mkrhadas.fd mkromega.fd mkrrashi.fd t2dcmr.fd t2denc.def \
tengwarDS.enc xscmr.fd xsenc.def
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${PLSCRIPTS:S@^@${WRKSRC}/@} ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_SCRIPT} ${PLSCRIPTS:S@^@${WRKSRC}/@} ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR}
${INSTALL_DATA} \
${CLASS_FILES:S@^@${WRKSRC}/@} \
${CONTRIB_FILES:S@^@${WRKSRC}/contrib/@} \
- ${PREFIX}/${CLASSDIR}
- ${CP} -R ${WRKSRC}/data ${PREFIX}/${CLASSDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR}
-.endif
-
-post-install:
- ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
+ ${STAGEDIR}${PREFIX}/${CLASSDIR}
+ ${CP} -R ${WRKSRC}/data ${STAGEDIR}${PREFIX}/${CLASSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>