freebsd-ports/sysutils/curly/Makefile
Dmitry Marakasov e6c3369143 - Switch to USES=tar
- Pet portlint
- Switch to relative manpage symlink and MANPREFIX

Approved by:	portmgr blanket
2017-08-21 16:45:27 +00:00

39 lines
1.1 KiB
Makefile

# Created by: 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://www.komquats.com/distfiles/ \
http://people.freebsd.org/~cy/distfiles/
DISTNAME= xapply-${PORTVERSION}
MAINTAINER= cy@FreeBSD.org
COMMENT= Generalize listed filenames to csh-extended glob patterns
BUILD_DEPENDS= makeme:devel/msrc0 \
mkcmd:devel/mkcmd
USES= tar:tgz
MAKE_FLAGS=
MAKEFILE=
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 \
${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
${LN} -s ${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/un${PORTNAME}.1
.include <bsd.port.mk>