blob: cc6eb5f44d67460fbe14eb048116a91172405b0b (
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
|
# $NetBSD: Makefile,v 1.1 1998/06/12 12:59:43 frueauf Exp $
#
DISTNAME= freeciv-1.6.3
CATEGORIES= games x11
MASTER_SITES= freeciv.ultraviolet.org:/pub/freeciv/
MAINTAINER= root@garbled.net
DEPENDS= xpm-3.4j:../../graphics/xpm
USE_IMAKE= YES
NO_INSTALL_MANPAGES= YES
pre-patch:
${TOUCH} ${WRKSRC}/civclient.man
${TOUCH} ${WRKSRC}/civserver.man
post-patch:
${MV} ${WRKSRC}/client/climisc.c ${WRKSRC}/client/climisc.c.bak
${SED} -e 's|@X11BASE@|${X11BASE}|g' < ${WRKSRC}/client/climisc.c.bak \
> ${WRKSRC}/client/climisc.c
post-install:
${MKDIR} ${X11BASE}/share/freeciv/data
${INSTALL_DATA} ${WRKSRC}/data/*.txt ${X11BASE}/share/freeciv/data
${INSTALL_DATA} ${WRKSRC}/data/*.xpm ${X11BASE}/share/freeciv/data
${INSTALL_DATA} ${WRKSRC}/data/Freeciv ${X11BASE}/lib/X11/app-defaults
.include "../../mk/bsd.pkg.mk"
|