1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/print/cpp2latex/Makefile

37 lines
704 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= cpp2latex
PORTVERSION= 2.3
CATEGORIES= print
MASTER_SITES= http://www.arnoldarts.de/files/cpp2latex/
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts C++ source to output that can be used in LaTeX documents
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog README TODO
PLIST_FILES= bin/cpp2latex
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/-O2 /s|^|#|' -e '/-pedantic /s|^|#|' \
${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>