1998-02-11 07:42:14 +00:00
|
|
|
# New ports collection makefile for: cweb
|
|
|
|
# Date created: 10 Feb 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-02-11 07:42:14 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-02-11 07:42:14 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= cweb
|
2006-07-20 18:54:50 +00:00
|
|
|
PORTVERSION= 3.64a.a
|
1998-02-11 07:42:14 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
|
|
MASTER_SITE_SUBDIR= web/c_cpp/cweb
|
2006-07-20 18:54:50 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([a-z])$/\1/}
|
1998-02-11 07:42:14 +00:00
|
|
|
|
2004-05-03 12:07:19 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Literate programming tools for the C language
|
1998-02-11 07:42:14 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
2004-12-15 15:17:56 +00:00
|
|
|
|
2006-07-20 18:54:50 +00:00
|
|
|
MAKE_ARGS= CWEBINPUTS="${DATADIR}" \
|
|
|
|
CFLAGS="${CFLAGS}" \
|
|
|
|
LINKFLAGS="" \
|
|
|
|
CC="${CC}"
|
|
|
|
|
1998-02-11 07:42:14 +00:00
|
|
|
MAN1= cweb.1
|
|
|
|
|
2004-05-03 12:07:19 +00:00
|
|
|
post-patch:
|
2004-12-15 15:17:56 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cweb.1
|
2004-05-03 12:07:19 +00:00
|
|
|
|
2004-12-15 15:17:56 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ctangle ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cweave ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cweb.1 ${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/c++lib.w ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cweb.el ${PREFIX}/share/emacs/site-lisp
|
1998-02-11 07:42:14 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/texmf/tex/generic/misc
|
2004-12-15 15:17:56 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/cwebmac.tex \
|
|
|
|
${PREFIX}/share/texmf/tex/generic/misc
|
1998-02-11 07:42:14 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-12-15 15:17:56 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/cwebman.tex ${DOCSDIR}
|
1998-02-11 07:42:14 +00:00
|
|
|
.endif
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-02-11 07:42:14 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|