40 lines
824 B
Makefile
40 lines
824 B
Makefile
# $OpenBSD: Makefile,v 1.11 2005/12/12 14:32:54 espie Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "ISO-C API and CLI for generating Universally Unique Identifiers"
|
|
COMMENT-perl= "UUID modules for Perl"
|
|
|
|
VERSION= 1.3.1
|
|
DISTNAME= uuid-${VERSION}
|
|
FULLPKGNAME= uuid-${VERSION}p0
|
|
FULLPKGNAME-perl= p5-UUID-${VERSION}
|
|
CATEGORIES= devel
|
|
|
|
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
|
|
. if defined(PACKAGING)
|
|
LIB_DEPENDS+= uuid.12::devel/uuid
|
|
. endif
|
|
.endif
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-perl
|
|
|
|
.include <bsd.port.mk>
|