aboutsummaryrefslogtreecommitdiffstats
path: root/devel/rudiments/Makefile
blob: 1158dcdf5123a1f39725b82b9cf49e04259a6214 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:    rudiments
# Date created:     2 July 2001
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   rudiments
PORTVERSION=    0.36.1
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A utility C++ class library for daemons, clients, servers, and more

LICENSE=    LGPL20

BUILD_DEPENDS=  pkg-config>0:${PORTSDIR}/devel/pkg-config

USE_OPENSSL=    yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ENV=  PTHREADINCLUDES="${PTHREAD_CFLAGS}" \
        PTHREADLIB="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-ssl-includes=-I${OPENSSLINC} \
        --with-ssl-libs=-L${OPENSSLLIB} \
        --disable-pcre
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= yes

MAN1=       rudiments-config.1

post-patch:
    @${REINPLACE_CMD} -e \
        '/pkgconfig/s|$$(libdir)/|$$(prefix)/libdata/| ; \
         /^install:/s| install-doc | |' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e \
        's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/doc/programming/insert.pl
    @${REINPLACE_CMD} -e \
        's| -release $$(RUDIMENTS_VERSION)||' ${WRKSRC}/src/Makefile

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @(${TAR} -C ${WRKSRC}/doc --exclude CVS --exclude "Makefile" \
        --exclude "*.bak" --exclude "*.in" -cf - . | \
        ${TAR} -C ${DOCSDIR} --unlink -xf -)
    @${FIND} ${DOCSDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
    @${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+rx
    @${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endif

.include <bsd.port.mk>
-1/+1 * - Bump PORTREVISION for claws-mail updatemiwi2007-04-181-2/+1 * - Update CM to 2.8.1.netchild2007-03-121-0/+2 * - Update to 0.7miwi2007-03-012-6/+5 * - Update CM to 2.8.0.netchild2007-02-281-1/+1 * - Update CM to 2.7.2, themes to 20070116.netchild2007-01-271-1/+1 * Update CM to 2.7.1 and bump the revision of the plugins.netchild2007-01-161-0/+1 * update to 0.6.6itetcu2007-01-122-5/+4 * Update claws-mail to 2.7.0.netchild2007-01-101-0/+1 * sylpheed-claws was renamed upstream to claws-mail. Compleate repocopies ofitetcu2006-12-312-13/+12 * - Update SC to 2.6.0.netchild2006-12-04