blob: d7b8a40b2951848c921fe2b04550391bcf3cc66d (
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
|
# $NetBSD: Makefile,v 1.3 2001/02/17 17:37:34 wiz Exp $
DISTNAME= ${PKGNAME}-src
PKGNAME= ${PRG}-1.10
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= textproc converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gutenpalm/}
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://gutenpalm.sourceforge.net/makeztxt.php
COMMENT= ASCII text to Palm zTXT database converter
PRG= makeztxt
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -I. -o ${PRG} ${PRG}.c ${LDFLAGS} -lz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PRG} ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PRG}
.for doc in COPYING ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/${PRG}
.endfor
.include "../../mk/bsd.pkg.mk"
|