blob: aad0f4f593d63e15c76dcd4b8b12baa6bd04c995 (
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
|
# $NetBSD: Makefile,v 1.15 2008/03/04 06:59:06 jlam 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://www.linet.gr.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'
DIST_SUBDIR= ${PKGNAME_NOREV}
BUILD_DEPENDS+= nkf-[0-9]*:../../converters/nkf
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1
post-build:
nkf -e ${WRKSRC}/sl.1 > ${WRKSRC}/sl.1.euc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sl ${DESTDIR}${PREFIX}/bin/sl
${INSTALL_DATA} ${WRKSRC}/sl.1.euc \
${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1/sl.1
.include "../../mk/bsd.pkg.mk"
|