summaryrefslogtreecommitdiff
path: root/x11/xneko/Makefile
blob: 66cc287615591856a96471b847ac62124a9491c1 (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.26 2007/01/18 00:37:26 rillig Exp $

DISTNAME=	xneko
PKGNAME=	xneko-4.4
PKGREVISION=	2
CATEGORIES=	x11 games
MASTER_SITES=	ftp://ftp.cdrom.com/pub/bsd-sources/4.4BSD-Lite/usr/src/games/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Classic BSD4.4 cat-and-mouse

WRKSRC=		${WRKDIR}/pub/bsd-sources/4.4BSD-Lite/usr/src/games/xneko
MANCOMPRESSED_IF_MANZ=	yes

PLIST_SRC=	${WRKDIR}/PLIST

BUILD_DEFS+=	MANINSTALL

USE_BSD_MAKEFILE=	yes

INSTALLATION_DIRS+=	${PKGMANDIR}/cat6 ${PKGMANDIR}/man6

post-install:
	@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
	@for OPT in ${MANINSTALL} x; do \
	  case $$OPT in \
	    catinstall) ${ECHO} man/cat6/xneko.0 >>${PLIST_SRC};; \
	    maninstall) ${ECHO} man/man6/xneko.6 >>${PLIST_SRC};; \
	  esac; \
	done

.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"