aboutsummaryrefslogtreecommitdiffstats
path: root/print/cpp2latex/Makefile
blob: 20dc8802d66092a6e92f1689a1d251970e2d3277 (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
34
# 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/

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

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.include <bsd.port.pre.mk>

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

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

.include <bsd.port.post.mk>