mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
eba28cfd74
The next version available is 3.64ab. 3.64a.a looks more reasonable, and is larger than 3.64, smaller than 3.64a.b/3.65. So, I use it. - Respect CC, CFLAGS PR: ports/100558 Submitted by: KATO Tsuguru
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: cweb
|
|
# Date created: 10 Feb 1998
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cweb
|
|
PORTVERSION= 3.64a.a
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR= web/c_cpp/cweb
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([a-z])$/\1/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Literate programming tools for the C language
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
MAKE_ARGS= CWEBINPUTS="${DATADIR}" \
|
|
CFLAGS="${CFLAGS}" \
|
|
LINKFLAGS="" \
|
|
CC="${CC}"
|
|
|
|
MAN1= cweb.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/cweb.1
|
|
|
|
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
|
|
@${MKDIR} ${PREFIX}/share/texmf/tex/generic/misc
|
|
${INSTALL_DATA} ${WRKSRC}/cwebmac.tex \
|
|
${PREFIX}/share/texmf/tex/generic/misc
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/cwebman.tex ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|