summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-18 11:51:33 +0000
committerrillig <rillig@pkgsrc.org>2007-01-18 11:51:33 +0000
commit6693a6ed998563d011e9c283d77032729ecb71e7 (patch)
treed039841281ba1919a5e91de3fd8a2e56d8b3575e /converters
parent43a916072c6f341307cdc94d057b9ad7fd000c78 (diff)
downloadpkgsrc-6693a6ed998563d011e9c283d77032729ecb71e7.tar.gz
Made the Makefile a little simpler.
Diffstat (limited to 'converters')
-rw-r--r--converters/chef/Makefile15
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: