2007-09-15 22:52:56 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2007/09/16 02:53:14 merdely 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
|
|
|
|
COMMENT-pgsql= UUID extension for PostgreSQL
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2007-05-31 01:21:25 -04:00
|
|
|
VERSION= 1.6.0
|
2005-10-07 08:34:25 -04:00
|
|
|
DISTNAME= uuid-${VERSION}
|
2007-05-31 01:21:25 -04:00
|
|
|
FULLPKGNAME-main= uuid-${VERSION}
|
2007-06-11 07:01:27 -04:00
|
|
|
FULLPKGNAME-perl= p5-UUID-${VERSION}p0
|
2007-06-19 12:09:12 -04:00
|
|
|
FULLPKGNAME-pgsql= postgresql-uuid-${VERSION}
|
2005-05-15 06:12:37 -04:00
|
|
|
CATEGORIES= devel
|
2006-03-12 18:11:30 -05:00
|
|
|
SHARED_LIBS= uuid 13.22 \
|
2006-04-10 10:51:04 -04:00
|
|
|
uuid++ 14.21
|
2004-04-17 12:42:12 -04:00
|
|
|
|
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/
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-11-20 15:27:34 -05:00
|
|
|
|
2007-06-19 12:09:12 -04:00
|
|
|
MULTI_PACKAGES= -main -perl -pgsql
|
2006-11-20 15:27:34 -05:00
|
|
|
|
|
|
|
WANTLIB-main= c
|
|
|
|
|
|
|
|
CATEGORIES-perl= devel perl5
|
|
|
|
WANTLIB-perl=
|
|
|
|
LIB_DEPENDS-perl= uuid.>=12::devel/uuid
|
2005-05-15 06:12:37 -04:00
|
|
|
|
2007-06-19 12:09:12 -04:00
|
|
|
CATEGORIES-pgsql= devel databases
|
|
|
|
WANTLIB-pgsql= c
|
|
|
|
LIB_DEPENDS-pgsql= uuid.>=12::devel/uuid
|
|
|
|
RUN_DEPENDS-pgsql= :postgresql-server-*:databases/postgresql,-server
|
2007-07-14 02:20:55 -04:00
|
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS-pgsql}
|
2007-06-19 12:09:12 -04:00
|
|
|
|
2006-01-06 04:05:50 -05:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
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 \
|
2007-06-19 12:09:12 -04:00
|
|
|
--without-php --with-pgsql
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@cp ${FILESDIR}/Makefile ${WRKSRC}/pgsql
|
2004-04-17 12:42:12 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|