46 lines
941 B
Makefile
46 lines
941 B
Makefile
# $OpenBSD: Makefile,v 1.19 2006/08/01 23:39:08 espie Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "ISO-C API and CLI for generating Universally Unique Identifiers"
|
|
COMMENT-perl= "UUID modules for Perl"
|
|
|
|
VERSION= 1.5.0
|
|
DISTNAME= uuid-${VERSION}
|
|
FULLPKGNAME= uuid-${VERSION}
|
|
FULLPKGNAME-perl= p5-UUID-${VERSION}
|
|
CATEGORIES= devel
|
|
SHARED_LIBS= uuid 13.22 \
|
|
uuid++ 14.21
|
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
|
|
|
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
|
|
WANTLIB= c
|
|
|
|
MULTI_PACKAGES= -perl
|
|
SUBPACKAGE?=
|
|
|
|
.if ${SUBPACKAGE} == "-perl"
|
|
CATEGORIES= devel perl5
|
|
WANTLIB=
|
|
. if defined(PACKAGING)
|
|
LIB_DEPENDS+= uuid.>=12::devel/uuid
|
|
. endif
|
|
.endif
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-perl --with-cxx \
|
|
--without-php --without-pgsql
|
|
|
|
.include <bsd.port.mk>
|