summaryrefslogtreecommitdiffstats
path: root/devel/noweb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/noweb/Makefile')
-rw-r--r--devel/noweb/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/noweb/Makefile b/devel/noweb/Makefile
index a50eda8..49da1f3 100644
--- a/devel/noweb/Makefile
+++ b/devel/noweb/Makefile
@@ -18,12 +18,23 @@ BUILD_DEPENDS= icont:${PORTSDIR}/lang/icon
RUN_DEPENDS= iconx:${PORTSDIR}/lang/icon
WRKSRC= ${WRKDIR}/src
+INSTALL_TARGET= install-code install-man install-elisp
MAN1= cpif.1 htmltoc.1 nodefs.1 noindex.1 noroff.1 noroots.1 \
notangle.1 noweb.1 nuweb2noweb.1 sl2h.1
MAN7= nowebfilters.7 nowebstyle.7
MLINKS= notangle.1 noweave.1 notangle.1 nountangle.1
+NOWEBTEXDIR= ${PREFIX}/share/texmf-local/tex/plain/noweb
+NOWEBLATEXDIR= ${PREFIX}/share/texmf-local/tex/latex/noweb
+
post-build:
@(cd ${WRKSRC} && ${SH} ${WRKSRC}/awkname awk)
+post-install:
+ @${MKDIR} ${NOWEBTEXDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tex/nwmac.tex ${NOWEBTEXDIR}
+ @${MKDIR} ${NOWEBLATEXDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tex/noweb.sty ${NOWEBLATEXDIR}
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud