aboutsummaryrefslogtreecommitdiffstats
path: root/devel/commoncpp/Makefile
blob: 60fb50126174eedf02d28c0fce606f1d0ef8276e (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
# New ports collection makefile for:    CommonC++
# Date created:             25 July 2000
# Whom:                 David Sugar <dyfet@gnu.org>
#
# $FreeBSD$
#

PORTNAME=   CommonC++
PORTVERSION=    1.2.5.1
CATEGORIES= devel
MASTER_SITES=   ftp://www.voxilla.org/pub/ape/ \
        ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cplusplus

MAINTAINER= dyfet@gnu.org

USE_GMAKE=  yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes

pre-patch:
    @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
        's|-release \$$\(LT_RELEASE\)||g'
    @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
         s|l\$$ost_cv_thread_library|\$$ost_cv_thread_library|g ; \
         s|=c_r|=pthread|g' ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/commoncpp
    ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/commoncpp
.endif

.include <bsd.port.mk>