aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/curly/Makefile
blob: 9ef372622aeacf2948ee29026ed50d6dfea88ca1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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= ports@FreeBSD.org
COMMENT=    Generalize listed filenames to csh-extended glob patterns

DEPRECATED= No more public distfiles
EXPIRATION_DATE=    2011-08-01

BUILD_DEPENDS=  makeme:${PORTSDIR}/devel/msrc0 \
        mkcmd:${PORTSDIR}/devel/mkcmd

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>