blob: d23a29d514aaa1f2525e8cdc6592530f219a565a (
plain)
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
|
# $NetBSD: Makefile,v 1.15 2008/03/03 05:51:08 jlam Exp $
#
DISTNAME= chef-19920415
CATEGORIES= converters
MASTER_SITES= http://www.evolutionzone.com/kulturezone/c-g.writing/
DISTFILES= chef.l.txt
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= none
COMMENT= Convert from English to (mock) Swedish - Bork Bork Bork!
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
USE_TOOLS+= lex
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
INSTALLATION_DIRS= bin
do-extract:
# deal with the dos encoding of the file
cd ${WRKSRC} && tr '\r' '\n' < ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > chef.l
do-build:
cd ${WRKSRC} && lex chef.l
${LINK.c} -o ${WRKSRC}/chef ${WRKSRC}/lex.yy.c -ll
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/chef ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|