blob: a114fdf8239a887bc1962bb118bc7dc33531d726 (
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
42
|
# $NetBSD: Makefile,v 1.13 2004/03/07 17:13:49 snj Exp $
#
DISTNAME= nethack_source_331_jtp_193
PKGNAME= falcons-eye-1.9.3
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=falconseye/}
EXTRACT_SUFX= .zip
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://falconseye.sourceforge.net/
COMMENT= Falcon's Eye NetHack
EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE}
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
WRKSRC= ${WRKDIR}
USE_BUILDLINK3= yes
USE_X11= yes
post-patch:
@${MV} ${WRKSRC}/include/config.h ${WRKSRC}/config.h-pre
@${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' \
-e 's|@GZIP_PROGRAM@|'`${ECHO} ${GZIP_CMD} | ${AWK} '{ print $$1 }'`'|g' \
< ${WRKSRC}/config.h-pre > ${WRKSRC}/include/config.h
@${RM} -f ${WRKSRC}/config.h-pre
@${SED} 's@XXXPREFIXXXX@${PREFIX}@g' \
<${WRKSRC}/src/fe-config.in >${WRKSRC}/src/fe-config
pre-configure:
@${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh
pre-install:
@${CP} ${WRKSRC}/src/nethack ${WRKSRC}/src/falcons-eye
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/fe-config ${PREFIX}/bin
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|