have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
25 lines
710 B
Makefile
25 lines
710 B
Makefile
# $NetBSD: Makefile,v 1.5 2003/01/28 22:03:20 jlam Exp $
|
|
|
|
DISTNAME= xmris.4.04
|
|
PKGNAME= xmris-4.04
|
|
CATEGORIES= games x11
|
|
MASTER_SITES= http://www.cs.bris.ac.uk/~nathan/xmris/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= root@garbled.net
|
|
HOMEPAGE= http://www.cs.bris.ac.uk/~nathan/xmris/
|
|
COMMENT= Version of the Mr Do video arcade game for X
|
|
|
|
USE_PKGINSTALL= yes
|
|
USE_IMAKE= yes
|
|
ALL_TARGET= initialize xmris xmred
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
OWN_DIRS_PERMS= /var/games/${PKGBASE} games games 775
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/xmris.man ${PREFIX}/man/man6/xmris.6
|
|
${LN} -fs xmris.6 ${PREFIX}/man/man6/xmsit.6
|
|
${INSTALL_MAN} ${WRKSRC}/xmred.man ${PREFIX}/man/man6/xmred.6
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|