2006-08-01 19:39:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2006/08/01 23:39:08 espie Exp $
|
2005-05-15 06:12:37 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2004-04-17 12:42:12 -04:00
|
|
|
|
|
|
|
COMMENT= "ISO-C API and CLI for generating Universally Unique Identifiers"
|
2005-05-15 06:12:37 -04:00
|
|
|
COMMENT-perl= "UUID modules for Perl"
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2006-08-01 09:23:15 -04:00
|
|
|
VERSION= 1.5.0
|
2005-10-07 08:34:25 -04:00
|
|
|
DISTNAME= uuid-${VERSION}
|
2006-03-12 18:11:30 -05:00
|
|
|
FULLPKGNAME= uuid-${VERSION}
|
|
|
|
FULLPKGNAME-perl= p5-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
|
2004-11-23 19:11:03 -05:00
|
|
|
WANTLIB= c
|
2004-04-17 12:42:12 -04:00
|
|
|
|
2005-05-15 06:12:37 -04:00
|
|
|
MULTI_PACKAGES= -perl
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
.if ${SUBPACKAGE} == "-perl"
|
|
|
|
CATEGORIES= devel perl5
|
2006-02-08 18:18:51 -05:00
|
|
|
WANTLIB=
|
2005-05-15 06:12:37 -04:00
|
|
|
. if defined(PACKAGING)
|
2006-08-01 19:39:08 -04:00
|
|
|
LIB_DEPENDS+= uuid.>=12::devel/uuid
|
2005-05-15 06:12:37 -04:00
|
|
|
. endif
|
|
|
|
.endif
|
|
|
|
|
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 \
|
2006-04-10 10:51:04 -04:00
|
|
|
--without-php --without-pgsql
|
2004-04-17 12:42:12 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|