diff options
author | jlam <jlam> | 2000-10-15 07:35:14 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-15 07:35:14 +0000 |
commit | bf94f4bc4fee74dab1e7fddf79909a9377f6e0e0 (patch) | |
tree | 143741b8c8ca7f9366889ca089d7847a2538af1f /devel | |
parent | f6d2eba5bd2d742583c3e6a3218d2515f3a8be27 (diff) | |
download | pkgsrc-bf94f4bc4fee74dab1e7fddf79909a9377f6e0e0.tar.gz |
p5-perl-headers: h2ph-generated perl header files
Since these are generated from the contents of /usr/include, and varies
from release to release, the version number for this packages is simply
the OS_VERSION, e.g. p5-perl-headers-1.4.2, p5-perl-headers-1.5C.
This package closes PRs: 6369, 7422.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-perl-headers/Makefile | 39 | ||||
-rw-r--r-- | devel/p5-perl-headers/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/p5-perl-headers/pkg/DESCR | 2 | ||||
-rw-r--r-- | devel/p5-perl-headers/pkg/PLIST | 1 |
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/p5-perl-headers/Makefile b/devel/p5-perl-headers/Makefile new file mode 100644 index 00000000000..453b29754c6 --- /dev/null +++ b/devel/p5-perl-headers/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 07:35:14 jlam Exp $ + +DISTNAME= p5-perl-headers +PKGNAME= ${DISTNAME}-${OS_VERSION} +CATEGORIES= devel perl5 +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://language.perl.com/index.html + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/.packlist.h2ph + +EXTRACT_ONLY= # empty +NO_WRKSUBDIR= # defined +NO_CHECKSUM= # defined +NO_PATCH= # defined +NO_CONFIGURE= # defined + +do-build: + ${MKDIR} -p ${WRKSRC}/h2ph + ${RM} -f ${WRKSRC}/h2ph_log ${WRKSRC}/packlist + ( cd /usr/include; ${PREFIX}/bin/h2ph -d ${WRKSRC}/h2ph -r -l . ) \ + > ${WRKSRC}/h2ph_log + ( ${ECHO} "${PERL5_SITEARCH}/_h2ph_pre.ph"; \ + ${CAT} ${WRKSRC}/h2ph_log \ + | ${GREP} -- "->" \ + | ${SED} -e "s,.*\./,${PERL5_SITEARCH}/,g" ) \ + | sort -u \ + > ${WRKSRC}/packlist + +do-install: + ${CP} -R ${WRKSRC}/h2ph/* ${PERL5_SITEARCH} + ${INSTALL_DATA} ${WRKSRC}/packlist ${PERL5_PACKLIST} + ${CAT} ${PERL5_PACKLIST} | xargs chmod a-w + ${CAT} ${PERL5_PACKLIST} | xargs chown ${SHAREOWN}:${SHAREGRP} + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-perl-headers/pkg/COMMENT b/devel/p5-perl-headers/pkg/COMMENT new file mode 100644 index 00000000000..0a05beee2ab --- /dev/null +++ b/devel/p5-perl-headers/pkg/COMMENT @@ -0,0 +1 @@ +Perl header files diff --git a/devel/p5-perl-headers/pkg/DESCR b/devel/p5-perl-headers/pkg/DESCR new file mode 100644 index 00000000000..f1c219d7ce2 --- /dev/null +++ b/devel/p5-perl-headers/pkg/DESCR @@ -0,0 +1,2 @@ +This package is the collection of Perl headers files output by h2ph +from the C headers found in /usr/include. diff --git a/devel/p5-perl-headers/pkg/PLIST b/devel/p5-perl-headers/pkg/PLIST new file mode 100644 index 00000000000..70b1b6e93c9 --- /dev/null +++ b/devel/p5-perl-headers/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 07:35:14 jlam Exp $ |