blob: 2584729f6dbe0949244457150633e6c096333d2f (
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
|
# $NetBSD: Makefile,v 1.3 2004/03/09 21:11:20 snj Exp $
DISTNAME= mapit.v1-16
PKGNAME= dipmap-1.16
CATEGORIES= games
MASTER_SITES= ftp://ftp.ugcs.caltech.edu/pub/diplomacy/Sources/
EXTRACT_SUFX= .tar.Z
MAINTAINER= njohnston@globaltetrahedron.com
HOMEPAGE= http://www.diplom.org/Online/mapsoftware.html
COMMENT= Generate postscript maps from results of play-by-email Diplomacy games
MAKEFILE= makefile
NO_CONFIGURE= yes
USE_BUILDLINK3= yes
WRKSRC= ${WRKDIR}/mapit
post-patch:
${SED} "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dipmap > ${WRKSRC}/dipmap.new
${MV} ${WRKSRC}/dipmap.new ${WRKSRC}/dipmap
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dipmap ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/mapit
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mapit
${INSTALL_PROGRAM} ${WRKSRC}/mapit ${PREFIX}/libexec
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mapit
${INSTALL_DATA} ${WRKSRC}/README.maps ${PREFIX}/share/doc/mapit
${INSTALL_DATA} ${WRKSRC}/*.ps ${PREFIX}/share/mapit
${INSTALL_DATA} ${WRKSRC}/*.info ${PREFIX}/share/mapit
.include "../../mk/bsd.pkg.mk"
|