39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.44 2021/04/21 08:29:00 wiz Exp $
|
|
|
|
DISTNAME= noweb-2.11b
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= # ftp://www.eecs.harvard.edu/pub/nr/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.cs.tufts.edu/~nr/noweb/
|
|
COMMENT= Simple, extensible literate-programming tool
|
|
|
|
DEPENDS+= icon>=9.3:../../lang/icon
|
|
|
|
BUILD_DIRS= src
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_TOOLS+= mktemp:run
|
|
|
|
SUBST_CLASSES+= mktemp
|
|
SUBST_FILES.mktemp+= src/awk/totex.nw src/lib/toascii src/shell/toroff src/shell/noroff
|
|
SUBST_FILES.mktemp+= src/shell/nonu src/shell/cpif src/awkname src/shell/roff.nw
|
|
SUBST_FILES.mktemp+= src/shell/roff.mm contrib/conrado/d2tex
|
|
SUBST_FILES.mktemp+= contrib/jobling/correct-refs.nw
|
|
SUBST_FILES.mktemp+= contrib/norman/htmlgif/pstopbm
|
|
SUBST_SED.mktemp+= -e 's,@MKTEMP@,${TOOLS_PATH.mktemp},g'
|
|
SUBST_STAGE.mktemp= pre-configure
|
|
|
|
.if ${OPSYS} != "SunOS"
|
|
do-configure:
|
|
cd ${WRKSRC}/src && ./awkname awk
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/noweb
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/share/examples/noweb
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|