1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Convert to staging. Strip extra blank lines from pkg-message.

Adopt this port, assume maintainership for now.
This commit is contained in:
Gerald Pfeifer 2013-12-07 12:08:28 +00:00
parent d0c9cba0c6
commit 81e8b46a86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335826
3 changed files with 14 additions and 16 deletions

View File

@ -8,7 +8,7 @@ MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= web/c_cpp/cweb
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([a-z])$/\1/}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= gerald@FreeBSD.org
COMMENT= Literate programming tools for the C language
NO_WRKSUBDIR= yes
@ -18,26 +18,25 @@ MAKE_ARGS= CWEBINPUTS="${DATADIR}" \
LINKFLAGS="" \
CC="${CC}"
MAN1= cweb.1
NO_STAGE= yes
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_PROGRAM} ${WRKSRC}/ctangle ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/cweave ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cweb.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/c++lib.w ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/cweb.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp
@${MKDIR} ${STAGEDIR}${PREFIX}/share/texmf/tex/generic/misc
${INSTALL_DATA} ${WRKSRC}/cwebmac.tex \
${PREFIX}/share/texmf/tex/generic/misc
${STAGEDIR}${PREFIX}/share/texmf/tex/generic/misc
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/cwebman.tex ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/cwebman.tex ${STAGEDIR}${DOCSDIR}
.endif
@${ECHO}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,4 +1,2 @@
You'll want to install some TeX package along with this.
I recommend getting teTeX if you're not short on disk space.

View File

@ -1,5 +1,6 @@
bin/ctangle
bin/cweave
man/man1/cweb.1.gz
%%DATADIR%%/c++lib.w
%%PORTDOCS%%%%DOCSDIR%%/cwebman.tex
share/emacs/site-lisp/cweb.el