2013-09-20 20:50:57 +00:00
|
|
|
# Created by: Kimura Fuyuki <fuyuki@nigredo.org>
|
2004-02-14 04:38:17 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= uuid
|
2008-11-27 07:35:26 +00:00
|
|
|
PORTVERSION= 1.6.2
|
2014-03-17 09:01:44 +00:00
|
|
|
PORTREVISION= 6
|
2004-02-14 04:38:17 +00:00
|
|
|
CATEGORIES= misc devel
|
2004-08-21 15:19:42 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_OSSP}
|
|
|
|
MASTER_SITE_SUBDIR= lib/${PORTNAME}
|
2004-02-14 04:38:17 +00:00
|
|
|
PKGNAMEPREFIX= ossp-
|
|
|
|
|
2006-02-07 14:07:35 +00:00
|
|
|
MAINTAINER= vd@FreeBSD.org
|
2014-03-17 09:01:44 +00:00
|
|
|
COMMENT= ISO-C API and CLI for generating Universally Unique Identifiers
|
2004-02-14 04:38:17 +00:00
|
|
|
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-22 11:09:46 +00:00
|
|
|
USE_LDCONFIG= yes
|
2012-06-10 18:10:08 +00:00
|
|
|
CONFIGURE_ARGS= --disable-shared --enable-static --with-cxx \
|
|
|
|
--includedir=${PREFIX}/include/ossp
|
2004-02-14 04:38:17 +00:00
|
|
|
|
2014-03-17 09:01:44 +00:00
|
|
|
.if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
|
|
|
|
PKGNAMEPREFIX= p5-OSSP-
|
2014-03-18 07:59:46 +00:00
|
|
|
.else
|
|
|
|
CONFLICTS= e2fsprogs-libuuid-[0-9]*
|
2004-11-06 08:18:02 +00:00
|
|
|
.endif
|
|
|
|
|
2009-07-29 07:31:46 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
|
|
CFLAGS+= -fPIC -DPIC
|
|
|
|
.endif
|
|
|
|
|
2007-07-22 11:09:46 +00:00
|
|
|
regression-test: test
|
|
|
|
|
2006-08-02 15:11:19 +00:00
|
|
|
test: build
|
2005-12-09 13:40:21 +00:00
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check
|
|
|
|
|
2009-07-29 07:31:46 +00:00
|
|
|
.include <bsd.port.post.mk>
|