diff options
author | Rajesh Vaidheeswarran <rv@FreeBSD.org> | 2000-09-15 19:39:58 +0000 |
---|---|---|
committer | Rajesh Vaidheeswarran <rv@FreeBSD.org> | 2000-09-15 19:39:58 +0000 |
commit | 2cabb01983a2f9db028d6596ec1a49652a404b52 (patch) | |
tree | 6bf94802f76c2e313cbe61272b5775a884497d81 /devel/cons-test | |
parent | 62fc33af77741cd6bc823812cd7777c16ef70771 (diff) | |
download | ports-2cabb01983a2f9db028d6596ec1a49652a404b52.tar.gz ports-2cabb01983a2f9db028d6596ec1a49652a404b52.zip |
Add `cons-test' port.
cons-test is a test bed for cons developers.
Notes
Notes:
svn path=/head/; revision=32655
Diffstat (limited to 'devel/cons-test')
-rw-r--r-- | devel/cons-test/Makefile | 71 | ||||
-rw-r--r-- | devel/cons-test/distinfo | 7 | ||||
-rw-r--r-- | devel/cons-test/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cons-test/pkg-descr | 12 | ||||
-rw-r--r-- | devel/cons-test/pkg-message | 16 | ||||
-rw-r--r-- | devel/cons-test/pkg-plist | 135 |
6 files changed, 242 insertions, 0 deletions
diff --git a/devel/cons-test/Makefile b/devel/cons-test/Makefile new file mode 100644 index 000000000000..214020a2b85c --- /dev/null +++ b/devel/cons-test/Makefile @@ -0,0 +1,71 @@ +# New ports collection makefile for: cons-test +# Date created: 15 September 2000 +# Whom: rv@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= cons-test +PORTVERSION= 2.0.2 +CATEGORIES= devel +MASTER_SITES= http://www.dsmit.com/cons/stable/ \ + http://www.gnu.org/software/cons/stable/ \ + ftp://ftp.gnu.org/pub/gnu/cons/stable/${PORTVERSION} \ + http://www.baldmt.com/cons/stable/ +EXTRACT_SUFX= .tgz + +MAINTAINER= rv@FreeBSD.org +BUILD_DEPENDS= ${PERL} +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${ARCH}-freebsd/MD5.pm:${PORTSDIR}/security/p5-MD5 ${LOCALBASE}/bin/cons:${PORTSDIR}/devel/cons + +USE_PERL5= yes +NO_BUILD= yes +CONS_TEST= cons-${PORTVERSION}/test +WRKSRC= ${WRKDIR}/${CONS_TEST} +PLIST_SUB= CONS_VER=${PORTVERSION} CONS_TEST=${CONS_TEST} + +MAN1= cons-test.1 +DOCS= CHANGES COPYING COPYRIGHT README TODO Tests.txt +TESTS= 1..71,101..147 +TEST_LIBS= Cmd.pm Cons.pm +do-install: +# +# Install the script +# + ${MKDIR} ${PREFIX}/bin + @${SED} -e 's:/usr/lib:${PREFIX}/lib:g' \ + <${WRKSRC}/cons-test >${PREFIX}/bin/cons-test + @${CHMOD} a+x ${PREFIX}/bin/cons-test + +# +# Install the tests +# + ${MKDIR} ${PREFIX}/lib/${CONS_TEST}/t + ${PERL} -e 'for (${TESTS}) {$$f=sprintf "t%04d.t", $$_;\ + $$x= "${INSTALL_DATA} ${WRKSRC}/t/$$f \ + ${PREFIX}/lib/${CONS_TEST}/t";\ + printf "$$x\n"; system $$x;}' +# +# Install the test libraries +# + ${MKDIR} ${PREFIX}/lib/${CONS_TEST}/Test/Cmd + ${INSTALL_DATA} ${WRKSRC}/Test/Cmd.pm ${PREFIX}/lib/${CONS_TEST}/Test + ${INSTALL_DATA} ${WRKSRC}/Test/Cmd/Cons.pm \ + ${PREFIX}/lib/${CONS_TEST}/Test/Cmd +# +# Install the man pages +# + ${INSTALL_MAN} ${WRKSRC}/cons-test.1 \ + ${PREFIX}/man/man1/cons-test.1 +.if !defined(NOPORTDOCS) +# +# Install the documentation +# + ${MKDIR} ${PREFIX}/share/doc/${CONS_TEST} +.for f in ${DOCS} + ${INSTALL} -c ${WRKSRC}/$f \ + ${PREFIX}/share/doc/${CONS_TEST} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/devel/cons-test/distinfo b/devel/cons-test/distinfo new file mode 100644 index 000000000000..f1e11ff347c1 --- /dev/null +++ b/devel/cons-test/distinfo @@ -0,0 +1,7 @@ +MD5 (cons-2.0.2-1.noarch.rpm) = 612c72a3e2e964b7e0afc0ddcfd7fa35 +MD5 (cons-test-2.0.2-1.noarch.rpm) = 33a820248417695ca62ddb1bd033c6c0 +MD5 (cons-2.0.2-1.src.rpm) = 3928c0a258e49ce43db620ac5494958f +MD5 (cons_2.0.2-1.deb) = 1300060beb1308b0118d89e926acfc8a +MD5 (cons-test_2.0.2-1.deb) = 4489137150af2d8f9a02bce48b2fd478 +MD5 (cons-2.0.2.tgz) = 4b55318c100155a1857b05ede975a01b +MD5 (cons-test-2.0.2.tgz) = 29e86c3d790bc89529ebf4620f514aa5 diff --git a/devel/cons-test/pkg-comment b/devel/cons-test/pkg-comment new file mode 100644 index 000000000000..84e001dbd673 --- /dev/null +++ b/devel/cons-test/pkg-comment @@ -0,0 +1 @@ +A test bed for `Cons' development diff --git a/devel/cons-test/pkg-descr b/devel/cons-test/pkg-descr new file mode 100644 index 000000000000..b7de92151111 --- /dev/null +++ b/devel/cons-test/pkg-descr @@ -0,0 +1,12 @@ +This is the cons-test regression test suite for the Cons software +construction utility. + +Cons is a Perl-based make replacement. It is not compatible with make, +but has a number of powerful capabilities not found in other software +construction systems, including make. + +This package contains only the tests, not Cons itself. You should +look for the "cons" package that corresponds to the version number of +this package. See that package for all the details about Cons. + +WWW: http://www.dsmit.com/cons/ diff --git a/devel/cons-test/pkg-message b/devel/cons-test/pkg-message new file mode 100644 index 000000000000..88d9768ad4f3 --- /dev/null +++ b/devel/cons-test/pkg-message @@ -0,0 +1,16 @@ +Copyright (C) 1996-2000 Free Software Foundation, Inc. + +Cons is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +Cons is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. diff --git a/devel/cons-test/pkg-plist b/devel/cons-test/pkg-plist new file mode 100644 index 000000000000..5cb684124d52 --- /dev/null +++ b/devel/cons-test/pkg-plist @@ -0,0 +1,135 @@ +bin/cons-test + +share/doc/%%CONS_TEST%%/CHANGES +share/doc/%%CONS_TEST%%/COPYING +share/doc/%%CONS_TEST%%/COPYRIGHT +share/doc/%%CONS_TEST%%/README +share/doc/%%CONS_TEST%%/TODO +share/doc/%%CONS_TEST%%/Tests.txt +@dirrm share/doc/%%CONS_TEST%% + +lib/%%CONS_TEST%%/t/t0001.t +lib/%%CONS_TEST%%/t/t0002.t +lib/%%CONS_TEST%%/t/t0003.t +lib/%%CONS_TEST%%/t/t0004.t +lib/%%CONS_TEST%%/t/t0005.t +lib/%%CONS_TEST%%/t/t0006.t +lib/%%CONS_TEST%%/t/t0007.t +lib/%%CONS_TEST%%/t/t0008.t +lib/%%CONS_TEST%%/t/t0009.t +lib/%%CONS_TEST%%/t/t0010.t +lib/%%CONS_TEST%%/t/t0011.t +lib/%%CONS_TEST%%/t/t0012.t +lib/%%CONS_TEST%%/t/t0013.t +lib/%%CONS_TEST%%/t/t0014.t +lib/%%CONS_TEST%%/t/t0015.t +lib/%%CONS_TEST%%/t/t0016.t +lib/%%CONS_TEST%%/t/t0017.t +lib/%%CONS_TEST%%/t/t0018.t +lib/%%CONS_TEST%%/t/t0019.t +lib/%%CONS_TEST%%/t/t0020.t +lib/%%CONS_TEST%%/t/t0021.t +lib/%%CONS_TEST%%/t/t0022.t +lib/%%CONS_TEST%%/t/t0023.t +lib/%%CONS_TEST%%/t/t0024.t +lib/%%CONS_TEST%%/t/t0025.t +lib/%%CONS_TEST%%/t/t0026.t +lib/%%CONS_TEST%%/t/t0027.t +lib/%%CONS_TEST%%/t/t0028.t +lib/%%CONS_TEST%%/t/t0029.t +lib/%%CONS_TEST%%/t/t0030.t +lib/%%CONS_TEST%%/t/t0031.t +lib/%%CONS_TEST%%/t/t0032.t +lib/%%CONS_TEST%%/t/t0033.t +lib/%%CONS_TEST%%/t/t0034.t +lib/%%CONS_TEST%%/t/t0035.t +lib/%%CONS_TEST%%/t/t0036.t +lib/%%CONS_TEST%%/t/t0037.t +lib/%%CONS_TEST%%/t/t0038.t +lib/%%CONS_TEST%%/t/t0039.t +lib/%%CONS_TEST%%/t/t0040.t +lib/%%CONS_TEST%%/t/t0041.t +lib/%%CONS_TEST%%/t/t0042.t +lib/%%CONS_TEST%%/t/t0043.t +lib/%%CONS_TEST%%/t/t0044.t +lib/%%CONS_TEST%%/t/t0045.t +lib/%%CONS_TEST%%/t/t0046.t +lib/%%CONS_TEST%%/t/t0047.t +lib/%%CONS_TEST%%/t/t0048.t +lib/%%CONS_TEST%%/t/t0049.t +lib/%%CONS_TEST%%/t/t0050.t +lib/%%CONS_TEST%%/t/t0051.t +lib/%%CONS_TEST%%/t/t0052.t +lib/%%CONS_TEST%%/t/t0053.t +lib/%%CONS_TEST%%/t/t0054.t +lib/%%CONS_TEST%%/t/t0055.t +lib/%%CONS_TEST%%/t/t0056.t +lib/%%CONS_TEST%%/t/t0057.t +lib/%%CONS_TEST%%/t/t0058.t +lib/%%CONS_TEST%%/t/t0059.t +lib/%%CONS_TEST%%/t/t0060.t +lib/%%CONS_TEST%%/t/t0061.t +lib/%%CONS_TEST%%/t/t0062.t +lib/%%CONS_TEST%%/t/t0063.t +lib/%%CONS_TEST%%/t/t0064.t +lib/%%CONS_TEST%%/t/t0065.t +lib/%%CONS_TEST%%/t/t0066.t +lib/%%CONS_TEST%%/t/t0067.t +lib/%%CONS_TEST%%/t/t0068.t +lib/%%CONS_TEST%%/t/t0069.t +lib/%%CONS_TEST%%/t/t0070.t +lib/%%CONS_TEST%%/t/t0071.t +lib/%%CONS_TEST%%/t/t0101.t +lib/%%CONS_TEST%%/t/t0102.t +lib/%%CONS_TEST%%/t/t0103.t +lib/%%CONS_TEST%%/t/t0104.t +lib/%%CONS_TEST%%/t/t0105.t +lib/%%CONS_TEST%%/t/t0106.t +lib/%%CONS_TEST%%/t/t0107.t +lib/%%CONS_TEST%%/t/t0108.t +lib/%%CONS_TEST%%/t/t0109.t +lib/%%CONS_TEST%%/t/t0110.t +lib/%%CONS_TEST%%/t/t0111.t +lib/%%CONS_TEST%%/t/t0112.t +lib/%%CONS_TEST%%/t/t0113.t +lib/%%CONS_TEST%%/t/t0114.t +lib/%%CONS_TEST%%/t/t0115.t +lib/%%CONS_TEST%%/t/t0116.t +lib/%%CONS_TEST%%/t/t0117.t +lib/%%CONS_TEST%%/t/t0118.t +lib/%%CONS_TEST%%/t/t0119.t +lib/%%CONS_TEST%%/t/t0120.t +lib/%%CONS_TEST%%/t/t0121.t +lib/%%CONS_TEST%%/t/t0122.t +lib/%%CONS_TEST%%/t/t0123.t +lib/%%CONS_TEST%%/t/t0124.t +lib/%%CONS_TEST%%/t/t0125.t +lib/%%CONS_TEST%%/t/t0126.t +lib/%%CONS_TEST%%/t/t0127.t +lib/%%CONS_TEST%%/t/t0128.t +lib/%%CONS_TEST%%/t/t0129.t +lib/%%CONS_TEST%%/t/t0130.t +lib/%%CONS_TEST%%/t/t0131.t +lib/%%CONS_TEST%%/t/t0132.t +lib/%%CONS_TEST%%/t/t0133.t +lib/%%CONS_TEST%%/t/t0134.t +lib/%%CONS_TEST%%/t/t0135.t +lib/%%CONS_TEST%%/t/t0136.t +lib/%%CONS_TEST%%/t/t0137.t +lib/%%CONS_TEST%%/t/t0138.t +lib/%%CONS_TEST%%/t/t0139.t +lib/%%CONS_TEST%%/t/t0140.t +lib/%%CONS_TEST%%/t/t0141.t +lib/%%CONS_TEST%%/t/t0142.t +lib/%%CONS_TEST%%/t/t0143.t +lib/%%CONS_TEST%%/t/t0144.t +lib/%%CONS_TEST%%/t/t0145.t +lib/%%CONS_TEST%%/t/t0146.t +lib/%%CONS_TEST%%/t/t0147.t +lib/%%CONS_TEST%%/Test/Cmd.pm +lib/%%CONS_TEST%%/Test/Cmd/Cons.pm + +@dirrm lib/%%CONS_TEST%%/Test/Cmd +@dirrm lib/%%CONS_TEST%%/Test +@dirrm lib/%%CONS_TEST%%/t +@dirrm lib/%%CONS_TEST%% |