b10bfc62db
+ change PKGNAME to "fondu" - the old name, "fondu_src" didn't really cut it for me + enable DESTDIR support + use a shell loop to install the package - CSE
26 lines
705 B
Makefile
26 lines
705 B
Makefile
# $NetBSD: Makefile,v 1.8 2007/08/31 10:47:35 agc Exp $
|
|
#
|
|
|
|
DISTNAME= fondu_src-030428
|
|
PKGNAME= fondu-030428
|
|
CATEGORIES= converters print fonts
|
|
MASTER_SITES= http://fondu.sourceforge.net/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= manu@NetBSD.org
|
|
HOMEPAGE= http://fondu.sourceforge.net/
|
|
COMMENT= Utility to convert between Mac fonts and UNIX fonts
|
|
|
|
WRKSRC= ${WRKDIR}/fondu
|
|
GNU_CONFIGURE= YES
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
for f in fondu dfont2res frombin tobin showfond ufond; do \
|
|
${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_MAN} ${WRKSRC}/$$f.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|