1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add p5-ExtUtils-Constant 0.16,

generate XS code to import C header
constants.
This commit is contained in:
Sergey Skvortsov 2005-02-03 15:43:11 +00:00
parent 353f0b4e25
commit 2e29b46aff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127977
5 changed files with 47 additions and 0 deletions

View File

@ -817,6 +817,7 @@
SUBDIR += p5-Exporter-Lite
SUBDIR += p5-Exporter-Tidy
SUBDIR += p5-ExtUtils-CBuilder
SUBDIR += p5-ExtUtils-Constant
SUBDIR += p5-ExtUtils-Depends
SUBDIR += p5-ExtUtils-MakeMaker
SUBDIR += p5-ExtUtils-ParseXS

View File

@ -0,0 +1,27 @@
# New ports collection makefile for: ExtUtils-Constant
# Date created: 03 February 2005
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= ExtUtils-Constant
PORTVERSION= 0.16
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Generate XS code to import C header constants
PERL_CONFIGURE= yes
MAN3= ExtUtils::Constant.3 ExtUtils::Constant::Base.3 \
ExtUtils::Constant::Utils.3 ExtUtils::Constant::XS.3
post-patch:
@${PERL} -pi -e 's!^(\s+INSTALLDIRS\s+=>\s+).*$$!$$1"site",!' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (ExtUtils-Constant-0.16.tar.gz) = 3d91feaf00aa55f4661197215e9eed94
SIZE (ExtUtils-Constant-0.16.tar.gz) = 31625

View File

@ -0,0 +1,7 @@
ExtUtils::Constant facilitates generating C and XS wrapper code to allow
perl modules to AUTOLOAD constants defined in C library header files.
It is principally used by the h2xs utility, on which this code is based.
It doesn't contain the routines to scan header files to extract these
constants.
WWW: http://search.cpan.org/dist/ExtUtils-Constant/

View File

@ -0,0 +1,10 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/Constant/.packlist
%%SITE_PERL%%/ExtUtils/Constant.pm
%%SITE_PERL%%/ExtUtils/Constant/Aaargh56Hash.pm
%%SITE_PERL%%/ExtUtils/Constant/Base.pm
%%SITE_PERL%%/ExtUtils/Constant/Utils.pm
%%SITE_PERL%%/ExtUtils/Constant/XS.pm
@dirrm %%SITE_PERL%%/ExtUtils/Constant
@unexec rmdir %D/%%SITE_PERL%%/ExtUtils 2>/dev/null || true
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils/Constant
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/ExtUtils 2>/dev/null || true