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

PORTNAME=   ctpp
PORTVERSION=    1.8.6
PORTREVISION=   1
CATEGORIES= textproc devel
MASTER_SITES=   http://www.reki.ru/products/ctpp/download/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi

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

USE_CMAKE=  yes
USE_LDCONFIG=   yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libctpp-st.a ${PREFIX}/lib/libctpp.a
    ${INSTALL_DATA} ${WRKSRC}/libctpp.so.${PORTVERSION} ${PREFIX}/lib/libctpp.so
    @${MKDIR} ${PREFIX}/include/ctpp
    cd ${WRKSRC}/include && ${FIND} . | \
        ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/include/ctpp

.include <bsd.port.mk>