aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ctpp/Makefile
blob: 90d3b0a57fac93bd9a354503f6ec75ca23d9a34a (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
35
36
# New ports collection makefile for:   ctpp
# Date created:         19 July 2004
# Whom:                 shetuhin@corp.mail.ru (Andrei V. Shetuhin)
#
# $FreeBSD$
#

PORTNAME=   ctpp
PORTVERSION=    1.7.5
CATEGORIES= textproc devel
MASTER_SITES=   http://www.reki.ru/products/ctpp/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    C++ library to use templates in C/C++ projects

GNU_CONFIGURE=  yes
USE_GMAKE=  yes

INSTALLS_SHLIB= yes

.if defined(WITH_CTPP_PERF_TUNING)
CONFIGURE_ARGS+=    --enable-optimization
.endif

.if defined(WITH_CTPP_DEBUG)
CONFIGURE_ARGS+=    --enable-debug
.endif

.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-doc
.endif

post-patch:
    @${RM} -f ${WRKSRC}/obj/*.o

.include <bsd.port.mk>