blob: 6a24f94ed8ba2aca70b6464824d05bba6f4bdfc8 (
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
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.7 2001/09/14 03:48:06 jlam Exp $
#
DISTNAME= xsoldier-0.96
CATEGORIES= games x11
MASTER_SITES= http://www.surfline.ne.jp/hachi/xsoldier/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.surfline.ne.jp/hachi/xsoldier.html
COMMENT= Updated xgalaga type game with awesome graphics
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
MAKE_ENV+= BINOWN=${BINOWN}
FILES_SUBST= CAT=${CAT:Q}
FILES_SUBST+= CHGRP=${CHGRP:Q}
FILES_SUBST+= CHMOD=${CHMOD:Q}
FILES_SUBST+= CHOWN=${CHOWN:Q}
FILES_SUBST+= CMP=${CMP:Q}
FILES_SUBST+= CP=${CP:Q}
FILES_SUBST+= ECHO=${ECHO:Q}
FILES_SUBST+= RM=${RM:Q}
FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
post-patch:
${TOUCH} ${WRKSRC}/xsoldier.man
pre-install:
${SED} ${FILES_SUBST_SED} ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} ${FILES_SUBST_SED} ${PKGDIR}/INSTALL > ${INSTALL_FILE}
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|