blob: f12705e1950d43b8763b29ca067769ccb763d87d (
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
|
# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
# $FreeBSD$
PORTNAME= uuid
PORTVERSION= 1.6.2
PORTREVISION= 9
CATEGORIES= misc devel
MASTER_SITES= OSSP/lib/${PORTNAME}
PKGNAMEPREFIX= ossp-
MAINTAINER= vd@FreeBSD.org
COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers
LICENSE= MIT
.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
LICENSE_FILE= ${WRKSRC}/../README
.else
LICENSE_FILE= ${WRKSRC}/README
.endif
GNU_CONFIGURE= yes
USES+= libtool pathfix
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-cxx \
--includedir=${PREFIX}/include/ossp
.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
PKGNAMEPREFIX= p5-OSSP-
.else
TEST_TARGET= check
.endif
pre-patch:
### Fixes lib conflicts with misc/e2fsprogs-libuuid ###
@${REINPLACE_CMD} 's/libuuid.la/libossp-uuid.la/ ; s/libuuid++.la/libossp-uuid++.la/' \
${WRKDIR}/${DISTNAME}/Makefile.in
.include <bsd.port.mk>
|