mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Thomas Gellekum <tg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= noweb
|
|
PORTVERSION= 2.11b
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://www.eecs.harvard.edu/pub/nr/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A simple, extensible literate-programming tool
|
|
|
|
LICENSE= noweb
|
|
LICENSE_NAME= noweb
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
LICENSE_PERMS= auto-accept # no restrictions
|
|
|
|
BUILD_DEPENDS= icont:${PORTSDIR}/lang/icon
|
|
RUN_DEPENDS= iconx:${PORTSDIR}/lang/icon
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
INSTALL_TARGET= install-code install-man install-elisp
|
|
MAKE_JOBS_UNSAFE= yes
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${TOUCH} ${WRKSRC}/c/modules.[ch]
|
|
|
|
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>
|