1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/devel/noweb/Makefile
2014-08-22 08:27:52 +00:00

42 lines
1.1 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= Simple, extensible literate-programming tool
LICENSE= noweb
LICENSE_NAME= noweb
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
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_ENV+= INSTALL_PREFIX=${STAGEDIR}${PREFIX}
MAKE_JOBS_UNSAFE= yes
NOWEBTEXDIR= ${STAGEDIR}${PREFIX}/share/texmf-local/tex/plain/noweb
NOWEBLATEXDIR= ${STAGEDIR}${PREFIX}/share/texmf-local/tex/latex/noweb
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}
.include <bsd.port.mk>