diff options
author | petef <petef@FreeBSD.org> | 2002-11-13 15:39:38 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-11-13 15:39:38 +0000 |
commit | f10c26f4b6b29e6e01cd4d92191e033be40815e9 (patch) | |
tree | f9a9747e62285c47048e2e11464ee9c77038fb17 /sysutils | |
parent | 8ff20b124e6eeb5d7c9b98246352363074da1313 (diff) | |
download | FreeBSD-ports-f10c26f4b6b29e6e01cd4d92191e033be40815e9.zip FreeBSD-ports-f10c26f4b6b29e6e01cd4d92191e033be40815e9.tar.gz |
Add curly 3.4, generalize listed filenames to csh-extended glob
patterns.
Submitted by: Stephen Gunn <csg@fedex.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/curly/Makefile | 41 | ||||
-rw-r--r-- | sysutils/curly/distinfo | 1 | ||||
-rw-r--r-- | sysutils/curly/files/patch-machine.h | 13 | ||||
-rw-r--r-- | sysutils/curly/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/curly/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/curly/pkg-plist | 2 |
7 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 4be39f1..1323d00 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -44,6 +44,7 @@ SUBDIR += cpuburn SUBDIR += crashme SUBDIR += cronolog + SUBDIR += curly SUBDIR += cvsweb-converters SUBDIR += daemontools SUBDIR += daemontools53 diff --git a/sysutils/curly/Makefile b/sysutils/curly/Makefile new file mode 100644 index 0000000..2a452e8 --- /dev/null +++ b/sysutils/curly/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: curly +# Date created: Nov 1 2002 +# Whom: Stephen Gunn <csg@fedex.com>, <csg@waterspout.com> +# +# $FreeBSD$ +# + +PORTNAME= curly +PORTVERSION= 3.4 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.physics.purdue.edu/pub/pundits/ \ + http://archive.progeny.com/pundits/ +DISTNAME= xapply-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= csg@fedex.com + +BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0 \ + mkcmd:${PORTSDIR}/devel/mkcmd + +USE_REINPLACE= yes +MAKE_FLAGS= +MAKEFILE= +MAN1= ${PORTNAME}.1 +MLINKS= ${PORTNAME}.1 un${PORTNAME}.1 + +post-patch: + @${REINPLACE_CMD} -e 's,CFLAGS=,CFLAGS+=,' -e 's,^DEBUG,#DEBUG,'\ + -e 's,gcc,${CC},' ${WRKSRC}/bin/curly/Make.host + +do-build: + ( cd ${WRKSRC}/bin/${PORTNAME} && ${SETENV} ${MAKE_ENV} makeme \ + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} ) + +do-install: + ( cd ${WRKSRC}/bin/curly && ${SETENV} ${MAKENV} makeme \ + ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} ) + ${INSTALL_MAN} ${WRKSRC}/bin/${PORTNAME}/${PORTNAME}.man \ + ${PREFIX}/man/man1/${PORTNAME}.1 + +.include <bsd.port.mk> diff --git a/sysutils/curly/distinfo b/sysutils/curly/distinfo new file mode 100644 index 0000000..71994d7 --- /dev/null +++ b/sysutils/curly/distinfo @@ -0,0 +1 @@ +MD5 (xapply-3.4.tgz) = 6e8b976cd3696c3d478e61104cc866e9 diff --git a/sysutils/curly/files/patch-machine.h b/sysutils/curly/files/patch-machine.h new file mode 100644 index 0000000..417f055 --- /dev/null +++ b/sysutils/curly/files/patch-machine.h @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- bin/curly/machine.h.orig Wed Nov 13 08:08:13 2002 ++++ bin/curly/machine.h Wed Nov 13 08:08:48 2002 +@@ -19,7 +19,7 @@ + #endif + + #if !defined(NEED_MALLOC_EXTERN) +-#define NEED_MALLOC_EXTERN (!USE_MALLOC_H && !defined(NEXT2) && !defined(IRIX) && !defined(BSDI)) ++#define NEED_MALLOC_EXTERN (!USE_MALLOC_H && !defined(NEXT2) && !defined(IRIX) && !defined(BSDI) && !defined(FREEBSD)) + #endif + + #if !defined(USE_STDLIB) diff --git a/sysutils/curly/pkg-comment b/sysutils/curly/pkg-comment new file mode 100644 index 0000000..04a71dd --- /dev/null +++ b/sysutils/curly/pkg-comment @@ -0,0 +1 @@ +Generalize listed filenames to csh-extended glob patterns diff --git a/sysutils/curly/pkg-descr b/sysutils/curly/pkg-descr new file mode 100644 index 0000000..6077f44 --- /dev/null +++ b/sysutils/curly/pkg-descr @@ -0,0 +1,2 @@ +Curly filters a list of filenames to a greatest-common-denominator +glob pattern used by most shells. diff --git a/sysutils/curly/pkg-plist b/sysutils/curly/pkg-plist new file mode 100644 index 0000000..05c0f2e --- /dev/null +++ b/sysutils/curly/pkg-plist @@ -0,0 +1,2 @@ +bin/curly +bin/uncurly |