aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/latex-arydshln/Makefile20
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>