diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-02 13:13:10 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-02 13:13:10 +0000 |
commit | 9bb6b4d84505e7e5379f2bdb1067cdf8f45ec806 (patch) | |
tree | 8d6c9ed75daf2fda26d6a90f1d2c2f952840eb0e /print | |
parent | 05dffab34b10ea412d04f745e60d4698fd615603 (diff) | |
download | ports-9bb6b4d84505e7e5379f2bdb1067cdf8f45ec806.tar.gz ports-9bb6b4d84505e7e5379f2bdb1067cdf8f45ec806.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/latex-arydshln/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/print/latex-arydshln/Makefile b/print/latex-arydshln/Makefile index 745720cae41e..899f3a3e569c 100644 --- a/print/latex-arydshln/Makefile +++ b/print/latex-arydshln/Makefile @@ -12,7 +12,9 @@ DISTFILES= README arydshln-man.pdf arydshln.dtx arydshln.ins arydshln.pdf DIST_SUBDIR= ${PORTNAME} MAINTAINER= hrs@FreeBSD.org -COMMENT= A LaTeX package that draws dash-lines in array/tabular +COMMENT= LaTeX package that draws dash-lines in array/tabular + +OPTIONS_DEFINE= DOCS USE_TEX= latex PLIST= ${WRKDIR}/pkg-plist @@ -28,7 +30,6 @@ CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//} CLASS_FILES= arydshln.dtx arydshln.ins arydshln.sty arydshln-man.tex DOC_FILES= README arydshln-man.pdf -NO_STAGE= yes do-extract: ${MKDIR} ${WRKSRC} cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC} @@ -39,24 +40,17 @@ do-build: ${ECHO_CMD} "${CLASSDIR}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST} -.if !defined(NOPORTDOCS) (for F in ${DOC_FILES}; do \ ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} -.endif ${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST} ${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST} do-install: - ${MKDIR} ${PREFIX}/${CLASSDIR} - ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR} -.endif - -post-install: - @${MKTEXLSR} + ${MKDIR} ${STAGEDIR}${PREFIX}/${CLASSDIR} + ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}${PREFIX}/${CLASSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |