blob: c1df9ad0325c692b5941e1ad120ffd4c6e8038df (
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
|
# New ports collection Makefile for: ucommon
# Date created: 21 February 2011
# Whom: gahr
#
# $FreeBSD$
#
PORTNAME= ucommon
PORTVERSION= 5.2.2
CATEGORIES= devel
MASTER_SITES= GNU
MASTER_SITE_SUBDIR= commoncpp
MAINTAINER= gahr@FreeBSD.org
COMMENT= A very lightweight C++ design patternlibrary
LICENSE= LGPL3
USE_GNOME= pkgconfig gnomehack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CFLAGS+= -D__BSD_VISIBLE
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS+=--bindir=${PREFIX}/bin/${PORTNAME}
MAN1= args.1 car.1 commoncpp-config.1 mdsum.1 pdetach.1 \
scrub-files.1 sockaddr.1 ucommon-config.1 zerofill.1
post-patch:
${REINPLACE_CMD} -e '/HAVE_OPENSSL_FIPS_H/s/define/undef/' \
${WRKSRC}/${CONFIGURE_SCRIPT}
test: build
cd ${WRKSRC}/test && ${MAKE} check
.include <bsd.port.mk>
|