diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-18 11:51:33 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-18 11:51:33 +0000 |
commit | 23e369a8f924dd8192e237483a8cc88aff7c0b80 (patch) | |
tree | d039841281ba1919a5e91de3fd8a2e56d8b3575e /converters | |
parent | b6515d0c36d9d40dad867b80b721891e6198303f (diff) | |
download | pkgsrc-23e369a8f924dd8192e237483a8cc88aff7c0b80.tar.gz |
Made the Makefile a little simpler.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/chef/Makefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/converters/chef/Makefile b/converters/chef/Makefile index a7aea26998b..4f9bafaeffc 100644 --- a/converters/chef/Makefile +++ b/converters/chef/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.13 2006/06/09 15:26:46 minskim Exp $ +# $NetBSD: Makefile,v 1.14 2007/01/18 11:51:33 rillig Exp $ # -DISTNAME= chef.l -PKGNAME= chef-19920415 +DISTNAME= chef-19920415 CATEGORIES= converters MASTER_SITES= http://www.evolutionzone.com/kulturezone/c-g.writing/ -EXTRACT_SUFX= .txt +DISTFILES= chef.l.txt MAINTAINER= pkgsrc-users@NetBSD.org #HOMEPAGE= none @@ -18,18 +17,14 @@ USE_TOOLS+= lex WRKSRC= ${WRKDIR} DIST_SUBDIR= ${PKGNAME_NOREV} -MAKE_ENV+= BINDIR=${PREFIX}/bin BINOWN=${BINOWN:Q} BINGRP=${BINGRP:Q} - INSTALLATION_DIRS= bin do-extract: # deal with the dos encoding of the file - ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKDIR}/chef.l.tmp - cd ${WRKSRC} && ${TR} '\015' '\n' < chef.l.tmp > chef.l - cd ${WRKSRC} && ${RM} chef.l.tmp + cd ${WRKSRC} && tr '\r' '\n' < ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > chef.l do-build: - cd ${WRKSRC} && ${LEX} chef.l + cd ${WRKSRC} && lex chef.l ${LINK.c} -o ${WRKSRC}/chef ${WRKSRC}/lex.yy.c -ll do-install: |