ports/print/cpp2latex/Makefile
Jason E. Hale f744924847 - Update MASTER_SITES
- Fix COMMENT grammar
- Add LICENSE (GPLv2 or later)
- Convert to new options framework
- Update pkg-descr

PR:		ports/172049
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
2012-10-20 06:50:45 +00:00

36 lines
690 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
.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>