summaryrefslogtreecommitdiff
path: root/misc/gpt
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-02-26 19:44:13 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-02-26 19:44:13 +0000
commit81250a8ee9bf12d5e3546858c4e476c6ac5adb87 (patch)
treefd5bf52e74f25c9c5825c8c97d7a574b90fe3bf1 /misc/gpt
parentChange the default version of ruby to 1.8 for i386 as well, finally. (diff)
Add gpt 3.1,
From the website (http://www.gridpackagingtools.org/): The Grid Packaging Tools are a multiplatform packaging system used to deploy Grid middleware for projects such as the National Science Foundation's Middleware Initiative (NMI) and the Globus Toolkit. PR: ports/61604 Submitted by: Brooks Davis <brooks@freebsd.org>
Diffstat (limited to 'misc/gpt')
-rw-r--r--misc/gpt/Makefile60
-rw-r--r--misc/gpt/distinfo1
-rw-r--r--misc/gpt/files/patch-build__gpt11
-rw-r--r--misc/gpt/files/patch-packaging__tools_Makefile.in18
-rw-r--r--misc/gpt/files/patch-tools_DistGPT.pm26
-rw-r--r--misc/gpt/pkg-descr7
-rw-r--r--misc/gpt/pkg-plist136
7 files changed, 259 insertions, 0 deletions
diff --git a/misc/gpt/Makefile b/misc/gpt/Makefile
new file mode 100644
index 000000000000..01213c55d569
--- /dev/null
+++ b/misc/gpt/Makefile
@@ -0,0 +1,60 @@
+# Ports collection makefile for: gpt
+# Date created: January 16, 2004
+# Whom: Brooks Davis <brooks@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gpt
+PORTVERSION= 3.1
+CATEGORIES= misc archivers devel parallel
+MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/aces/gpt/releases/gpt-${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= brooks@FreeBSD.org
+COMMENT= "Grid Packaging Tools (used to install Globus)"
+
+RUN_DEPENDS+= ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
+ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
+ ${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \
+ ${SITE_PERL}/Pod/Parser.pm:${PORTSDIR}/textproc/p5-PodParser \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
+ ${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake \
+ ${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch
+
+USE_PERL= yes
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+NO_BUILD= yes
+
+PLIST_SUB+= PERL=${PERL}
+
+MAN1= gpt-build.1 gpt-bundle.1 gpt-config.1 gpt-deps.1 \
+ gpt-flavor-configuration.1 gpt-install.1 \
+ gpt-pkg.1 gpt-postinstall.1 gpt-query.1 gpt-setup.1 \
+ gpt-undefines.1 gpt-uninstall.1 gpt-verify.1 \
+ gpt-virtual-pkg.1 gpt_build_config.1 \
+ gpt_extract_data.1 gpt_generate_bin_pkg_data.1 \
+ gpt_save_flavor.1
+
+FIX_VAR_FILES= ${WRKSRC}/packaging_tools/perl/GPT/Localize.pm \
+ ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt.pm \
+ ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt/Archive.pm \
+ ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt/BuildMacros.pm \
+ ${WRKSRC}/packaging_tools/perl/GPT/PkgMngmt/ExpandSource.pm \
+ ${WRKSRC}/packaging_tools/perl/scripts/gpt-bundle \
+ ${WRKSRC}/packaging_tools/perl/scripts/gpt-config \
+ ${WRKSRC}/tools/testArchiveTar
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|@@PERL@@|${PERL}|g" ${WRKSRC}/build_gpt
+ @${REINPLACE_CMD} -e 's|$$gpath/var/lib/perl|/var/db/gpt|g' ${FIX_VAR_FILES}
+ @${MKDIR} ${WRKSRC}/packaging_tools/etc/gpt
+
+do-install:
+ @cd ${WRKSRC}; \
+ GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL}
+
+.include <bsd.port.mk>
diff --git a/misc/gpt/distinfo b/misc/gpt/distinfo
new file mode 100644
index 000000000000..0fbebb1aa8c8
--- /dev/null
+++ b/misc/gpt/distinfo
@@ -0,0 +1 @@
+MD5 (gpt-3.1-src.tar.gz) = 566c39776311786d70a6753eac1cd5a5
diff --git a/misc/gpt/files/patch-build__gpt b/misc/gpt/files/patch-build__gpt
new file mode 100644
index 000000000000..2d1476065fe1
--- /dev/null
+++ b/misc/gpt/files/patch-build__gpt
@@ -0,0 +1,11 @@
+
+$FreeBSD$
+
+--- build_gpt.orig Fri Jan 16 15:11:51 2004
++++ build_gpt Fri Jan 16 15:13:12 2004
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env perl
++#!@@PERL@@
+
+ use strict;
+ use Getopt::Long;
diff --git a/misc/gpt/files/patch-packaging__tools_Makefile.in b/misc/gpt/files/patch-packaging__tools_Makefile.in
new file mode 100644
index 000000000000..7b70ed0ffd4a
--- /dev/null
+++ b/misc/gpt/files/patch-packaging__tools_Makefile.in
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- packaging_tools/Makefile.in.orig Tue Dec 9 07:36:07 2003
++++ packaging_tools/Makefile.in Thu Feb 26 09:49:04 2004
+@@ -847,8 +847,10 @@
+ $(mkinstalldirs) $(DESTDIR)man/man1; \
+ list='$(sbin_SCRIPTS)'; for p in $$list; do \
+ script=`echo $$p | sed 's!perl/scripts/!!'`; \
+- echo "Generating $(DESTDIR)$(prefix)/man/man1/$$script.1"; \
+- $(POD2MAN) $$p > $(DESTDIR)$(prefix)/man/man1/$$script.1; \
++ if /usr/bin/grep -q ^=cut $$p; then \
++ echo "Generating $(DESTDIR)$(prefix)/man/man1/$$script.1"; \
++ $(POD2MAN) $$p > $(DESTDIR)$(prefix)/man/man1/$$script.1; \
++ fi; \
+ done \
+ else \
+ echo "Skipping Man page installation"; \
diff --git a/misc/gpt/files/patch-tools_DistGPT.pm b/misc/gpt/files/patch-tools_DistGPT.pm
new file mode 100644
index 000000000000..16c9f1c3ed83
--- /dev/null
+++ b/misc/gpt/files/patch-tools_DistGPT.pm
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- tools/DistGPT.pm.orig Fri Jan 16 16:31:06 2004
++++ tools/DistGPT.pm Fri Jan 16 16:34:24 2004
+@@ -34,20 +34,12 @@
+
+ my @buildorder = (
+ "zlib",
+- "perlzlib",
+- "perlzlibio",
+- "perltest",
+- "perlpatch",
+- "perltar",
+ "oldautoconf",
+ "oldlibtool",
+ "oldautomake",
+ "autoconf",
+ "libtool",
+ "automake",
+- "filespec",
+- "podparser",
+- "md5",
+ "core",
+ "gpt",
+ );
diff --git a/misc/gpt/pkg-descr b/misc/gpt/pkg-descr
new file mode 100644
index 000000000000..ad6e3d7fe92d
--- /dev/null
+++ b/misc/gpt/pkg-descr
@@ -0,0 +1,7 @@
+The Grid Packaging Tools are a multiplatform packaging system used
+to deploy Grid middleware for projects such as the National Science
+Foundation's Middleware Initiative (NMI) and the Globus Toolkit
+
+GPT is a product of the National Center for Supercomputing Applications
+
+WWW: http://www.gridpackagingtools.org/
diff --git a/misc/gpt/pkg-plist b/misc/gpt/pkg-plist
new file mode 100644
index 000000000000..cb5dae9c3646
--- /dev/null
+++ b/misc/gpt/pkg-plist
@@ -0,0 +1,136 @@
+etc/gpt/dtd/globus_flavors.dtd
+etc/gpt/dtd/globus_package.dtd
+etc/gpt/dtd/gpt_bundle.dtd
+etc/gpt/dtd/gpt_filelist.dtd
+etc/gpt/dtd/gpt_reservoir.dtd
+etc/gpt/globus_core-src.tar.gz
+etc/gpt/globus_flavor_labels.conf
+etc/gpt/gpt_rpm.spec
+etc/gpt/gpt_scripts_list
+lib/perl/Grid/GPT/Algorithms.pm
+lib/perl/Grid/GPT/BaseNode.pm
+lib/perl/Grid/GPT/BaseTable.pm
+lib/perl/Grid/GPT/BuildLine.pm
+lib/perl/Grid/GPT/BundleInstallation.pm
+lib/perl/Grid/GPT/BundleSet.pm
+lib/perl/Grid/GPT/DepIndexes.pm
+lib/perl/Grid/GPT/DepNode.pm
+lib/perl/Grid/GPT/Filelist.pm
+lib/perl/Grid/GPT/FilelistFunctions.pm
+lib/perl/Grid/GPT/FilelistSort.pm
+lib/perl/Grid/GPT/GPTFilelist.pm
+lib/perl/Grid/GPT/GPTIdentity.pm
+lib/perl/Grid/GPT/GPTObject.pm
+lib/perl/Grid/GPT/Installation.pm
+lib/perl/Grid/GPT/LocalEnv.pm.in
+lib/perl/Grid/GPT/Localize.pm
+lib/perl/Grid/GPT/Locations.pm
+lib/perl/Grid/GPT/MD5.pm
+lib/perl/Grid/GPT/MatchNode.pm
+lib/perl/Grid/GPT/MyFilelists.pm
+lib/perl/Grid/GPT/PackageFactory.pm
+lib/perl/Grid/GPT/PackageFile.pm
+lib/perl/Grid/GPT/PackageFilelist.pm
+lib/perl/Grid/GPT/PackageFilelist/FileIO.pm
+lib/perl/Grid/GPT/PackageFilelist/FileIO/Disk.pm
+lib/perl/Grid/GPT/PackageFilelist/FileIO/Tar.pm
+lib/perl/Grid/GPT/PackageFilelist/List.pm
+lib/perl/Grid/GPT/PackageFilelist/flat1.pm
+lib/perl/Grid/GPT/PackageFilelist/flat1/IO.pm
+lib/perl/Grid/GPT/PackageFilelist/flat1/ListInterface.pm
+lib/perl/Grid/GPT/PackageFilelist/xml1.pm
+lib/perl/Grid/GPT/PackageFilelist/xml1/IO.pm
+lib/perl/Grid/GPT/PackageFilelist/xml1/ListInterface.pm
+lib/perl/Grid/GPT/PkgDefNode.pm
+lib/perl/Grid/GPT/PkgDefsSet.pm
+lib/perl/Grid/GPT/PkgDist.pm
+lib/perl/Grid/GPT/PkgFileName.pm
+lib/perl/Grid/GPT/PkgMngmt.pm
+lib/perl/Grid/GPT/PkgMngmt/Archive.pm
+lib/perl/Grid/GPT/PkgMngmt/Build.pm
+lib/perl/Grid/GPT/PkgMngmt/BuildMacros.pm
+lib/perl/Grid/GPT/PkgMngmt/ExpandSource.pm
+lib/perl/Grid/GPT/PkgMngmt/FlavorMacros.pm
+lib/perl/Grid/GPT/PkgMngmt/Inform.pm
+lib/perl/Grid/GPT/PkgMngmt/SetupBuildFlavors.pm
+lib/perl/Grid/GPT/PkgNode.pm
+lib/perl/Grid/GPT/PkgSet.pm
+lib/perl/Grid/GPT/SetFunctions.pm
+lib/perl/Grid/GPT/Setup.pm
+lib/perl/Grid/GPT/SetupInstallation.pm
+lib/perl/Grid/GPT/V1/BaseDependency.pm
+lib/perl/Grid/GPT/V1/BinaryDependency.pm
+lib/perl/Grid/GPT/V1/BuildFlavors.pm
+lib/perl/Grid/GPT/V1/Bundle.pm
+lib/perl/Grid/GPT/V1/Definitions.pm
+lib/perl/Grid/GPT/V1/FlavorBase.pm
+lib/perl/Grid/GPT/V1/FlavorChoices.pm
+lib/perl/Grid/GPT/V1/FlavorDefinition.pm
+lib/perl/Grid/GPT/V1/Package.pm
+lib/perl/Grid/GPT/V1/SourceDependency.pm
+lib/perl/Grid/GPT/V1/Version.pm
+lib/perl/Grid/GPT/V1/XML.pm
+libexec/gpt-bootstrap.sh
+sbin/gpt-build
+sbin/gpt-bundle
+sbin/gpt-config
+sbin/gpt-deps
+sbin/gpt-file-remove
+sbin/gpt-filelist-convert
+sbin/gpt-filelist-copy
+sbin/gpt-flavor-configuration
+sbin/gpt-install
+sbin/gpt-md5
+sbin/gpt-perl-version
+sbin/gpt-pkg
+sbin/gpt-postinstall
+sbin/gpt-query
+sbin/gpt-setup
+sbin/gpt-undefines
+sbin/gpt-uninstall
+sbin/gpt-update
+sbin/gpt-verify
+sbin/gpt-virtual-pkg
+sbin/gpt_build_config
+sbin/gpt_create_automake_rules
+sbin/gpt_extract_data
+sbin/gpt_generate_bin_pkg_data
+sbin/gpt_get_lib_names
+sbin/gpt_save_flavor
+sbin/gpt_sort_filelist
+sbin/gpt_version
+share/globus_aclocal
+share/gpt/aclocal/Makefile_am.frg
+share/gpt/aclocal/bootstrap.frg
+share/gpt/aclocal/configure_in.frg
+share/gpt/aclocal/gpt_autoconf_macros.m4
+share/gpt/aclocal/pkg_data_src_gpt_in.frg
+share/gpt/aclocal/top_Makefile_am.frg
+share/gpt/amdir/data.am
+share/gpt/amdir/filelist.am
+share/gpt/amdir/header.am
+share/gpt/amdir/libs.am
+share/gpt/amdir/ltlib.am
+share/gpt/amdir/mans.am
+share/gpt/amdir/pkgdata_Makefile.am
+share/gpt/amdir/progs.am
+share/gpt/amdir/scripts.am
+share/gpt/amdir/subdirs.am
+share/gpt/config.guess
+share/gpt_amdir
+@dirrm etc/gpt/dtd
+@dirrm etc/gpt
+@dirrm lib/perl/Grid/GPT/PackageFilelist/FileIO
+@dirrm lib/perl/Grid/GPT/PackageFilelist/flat1
+@dirrm lib/perl/Grid/GPT/PackageFilelist/xml1
+@dirrm lib/perl/Grid/GPT/PackageFilelist
+@dirrm lib/perl/Grid/GPT/PkgMngmt
+@dirrm lib/perl/Grid/GPT/V1
+@dirrm lib/perl/Grid/GPT
+@dirrm lib/perl/Grid
+@dirrm lib/perl
+@dirrm share/gpt/aclocal
+@dirrm share/gpt/amdir
+@dirrm share/gpt
+@exec PATH=%%LOCALBASE%%/bin:${PATH} %D/sbin/gpt-config -probe -perl=%%PERL%%
+@unexec echo "Configuration information saved. If you will *NOT* use this package" && echo "anymore, please remove /var/db/gpt and its contents manually."