e32afb6fea
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
27 lines
722 B
Makefile
27 lines
722 B
Makefile
# $NetBSD: Makefile,v 1.5 2001/03/27 03:19:58 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= sl
|
|
PKGNAME= sl-3.03p5
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl/
|
|
EXTRACT_SUFX= .tar
|
|
|
|
PATCH_SITES= http://ecssg.ec.tmit.ac.jp/~izumi/sl/
|
|
PATCHFILES= sl5.patch
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= minoura@netbsd.org
|
|
HOMEPAGE= http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/
|
|
COMMENT= Animated SL that runs across the terminal when you type `sl' instead of `ls'
|
|
|
|
BUILD_DEPENDS= nkf-1.7:../../japanese/nkf
|
|
|
|
post-build:
|
|
nkf -e ${WRKSRC}/sl.1 > ${WRKSRC}/sl.1.euc
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sl ${PREFIX}/bin/sl
|
|
${INSTALL_DATA} ${WRKSRC}/sl.1.euc ${PREFIX}/man/ja_JP.EUC/man1/sl.1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|