2014-06-14 06:34:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2014/06/14 10:34:44 sthen Exp $
|
2005-05-15 06:12:37 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT-main= ISO-C API and CLI for generating UUIDs
|
|
|
|
COMMENT-perl= UUID modules for Perl
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2010-08-26 05:25:20 -04:00
|
|
|
VERSION= 1.6.2
|
2005-10-07 08:34:25 -04:00
|
|
|
DISTNAME= uuid-${VERSION}
|
2010-12-23 18:04:56 -05:00
|
|
|
FULLPKGNAME-main= ossp-uuid-${VERSION}
|
2013-06-19 10:34:50 -04:00
|
|
|
FULLPKGNAME-perl= p5-ossp-UUID-${VERSION}
|
2005-05-15 06:12:37 -04:00
|
|
|
CATEGORIES= devel
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2013-06-19 10:34:50 -04:00
|
|
|
SHARED_LIBS += ossp-uuid 0.0 # 16.22
|
|
|
|
SHARED_LIBS += ossp-uuid++ 0.0 # 16.22
|
|
|
|
|
|
|
|
REVISION-main= 2
|
2014-06-14 06:34:44 -04:00
|
|
|
REVISION-perl= 4
|
2011-07-06 03:21:24 -04:00
|
|
|
|
2008-11-24 10:37:00 -05:00
|
|
|
# Note there is a different libuuid in sysutils/e2fsprogs,-uuid.
|
|
|
|
# If you are porting something which needs libuuid, you may need
|
|
|
|
# to look there instead.
|
|
|
|
|
2004-04-18 02:41:11 -04:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2004-04-17 12:42:12 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.ossp.org/pkg/lib/uuid/
|
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.ossp.org/pkg/lib/uuid/
|
|
|
|
|
2008-11-24 10:37:00 -05:00
|
|
|
# BSD
|
2004-04-17 12:42:12 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2006-11-20 15:27:34 -05:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
USE_GROFF = Yes
|
2008-03-24 13:25:49 -04:00
|
|
|
MULTI_PACKAGES= -main -perl
|
2006-11-20 15:27:34 -05:00
|
|
|
|
2010-07-02 06:32:55 -04:00
|
|
|
WANTLIB-main= c m stdc++
|
2006-11-20 15:27:34 -05:00
|
|
|
|
|
|
|
CATEGORIES-perl= devel perl5
|
2013-06-19 10:34:50 -04:00
|
|
|
# libperl will show as "extra" but this should be kept as it depends on perl ABI
|
|
|
|
WANTLIB-perl= perl ossp-uuid
|
2010-12-23 18:04:56 -05:00
|
|
|
LIB_DEPENDS-perl= ${BASE_PKGPATH}
|
2005-05-15 06:12:37 -04:00
|
|
|
|
2006-01-06 04:05:50 -05:00
|
|
|
|
2004-04-17 12:42:12 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2006-03-12 18:11:30 -05:00
|
|
|
CONFIGURE_ARGS+= --with-perl --with-cxx \
|
2013-06-19 10:34:50 -04:00
|
|
|
--without-php --without-pgsql \
|
|
|
|
--includedir=${TRUEPREFIX}/include/ossp
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2011-07-06 03:21:24 -04:00
|
|
|
post-install:
|
|
|
|
mv ${PREFIX}/lib/pkgconfig/uuid.pc ${PREFIX}/lib/pkgconfig/ossp-uuid.pc
|
2013-06-19 10:34:50 -04:00
|
|
|
rm -rf ${PREFIX}/libdata/perl5/${MACHINE_ARCH}-openbsd/
|
2011-07-06 03:21:24 -04:00
|
|
|
|
2004-04-17 12:42:12 -04:00
|
|
|
.include <bsd.port.mk>
|