aboutsummaryrefslogtreecommitdiffstats
path: root/print/cpp2latex/Makefile
blob: 80cc2c3a76762f5b9c9f528a55251bffa314722d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ex:ts=8
# New ports collection makefile for:    cpp2latex
# Date created:         Jul 20, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   cpp2latex
PORTVERSION=    2.3
CATEGORIES= print
MASTER_SITES=   http://www.arnoldarts.de/downloads/cpp2latex/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Convert C++ source to a file you can input in an LaTeX-document

GNU_CONFIGURE=  yes

PLIST_FILES=    bin/cpp2latex
PORTDOCS=   AUTHORS ChangeLog README TODO

post-patch:
    @${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>