add a -perl subpackage which contains a Perl5 interface

between perl and uuid; mark the port SHARED_ONLY
This commit is contained in:
robert 2005-05-15 10:12:37 +00:00
parent 0170d1ec00
commit fb9cea877e
3 changed files with 34 additions and 3 deletions

View File

@ -1,9 +1,13 @@
# $OpenBSD: Makefile,v 1.8 2005/01/25 21:34:55 robert Exp $
# $OpenBSD: Makefile,v 1.9 2005/05/15 10:12:37 robert Exp $
SHARED_ONLY= Yes
COMMENT= "ISO-C API and CLI for generating Universally Unique Identifiers"
COMMENT-perl= "UUID modules for Perl"
DISTNAME= uuid-1.2.0
CATEGORIES= devel
DISTNAME= uuid-1.2.0
FULLPKGNAME-perl= p5-UUID-1.2.0
CATEGORIES= devel
MAINTAINER= Robert Nagy <robert@openbsd.org>
@ -17,6 +21,17 @@ 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>

View File

@ -0,0 +1,2 @@
This is the Perl5 'UUID' extension module. The UUID module provides a
full featured, UUID API.

14
devel/uuid/pkg/PLIST-perl Normal file
View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST-perl,v 1.1 2005/05/15 10:12:37 robert Exp $
libdata/perl5/${MACHINE_ARCH}-openbsd/
libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.6/
libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.6/perllocal.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/OSSP/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/OSSP/uuid.pm
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/OSSP/uuid.pod
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OSSP/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OSSP/uuid/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OSSP/uuid/uuid.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/OSSP/uuid/uuid.so
@man man/man3p/OSSP::uuid.3p