openbsd-ports/devel/uuid/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.48 2014/06/14 10:34:44 sthen Exp $
SHARED_ONLY= Yes
COMMENT-main= ISO-C API and CLI for generating UUIDs
COMMENT-perl= UUID modules for Perl
2010-08-26 05:25:20 -04:00
VERSION= 1.6.2
2005-10-07 08:34:25 -04:00
DISTNAME= uuid-${VERSION}
FULLPKGNAME-main= ossp-uuid-${VERSION}
FULLPKGNAME-perl= p5-ossp-UUID-${VERSION}
CATEGORIES= devel
SHARED_LIBS += ossp-uuid 0.0 # 16.22
SHARED_LIBS += ossp-uuid++ 0.0 # 16.22
REVISION-main= 2
REVISION-perl= 4
# 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.
MAINTAINER= Robert Nagy <robert@openbsd.org>
HOMEPAGE= http://www.ossp.org/pkg/lib/uuid/
MASTER_SITES= ftp://ftp.ossp.org/pkg/lib/uuid/
# BSD
PERMIT_PACKAGE_CDROM= Yes
2006-11-20 15:27:34 -05:00
2010-11-15 14:45:56 -05:00
USE_GROFF = Yes
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
# libperl will show as "extra" but this should be kept as it depends on perl ABI
WANTLIB-perl= perl ossp-uuid
LIB_DEPENDS-perl= ${BASE_PKGPATH}
2006-01-06 04:05:50 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-perl --with-cxx \
--without-php --without-pgsql \
--includedir=${TRUEPREFIX}/include/ossp
post-install:
mv ${PREFIX}/lib/pkgconfig/uuid.pc ${PREFIX}/lib/pkgconfig/ossp-uuid.pc
rm -rf ${PREFIX}/libdata/perl5/${MACHINE_ARCH}-openbsd/
.include <bsd.port.mk>