summaryrefslogtreecommitdiff
path: root/games/dipmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/dipmap/Makefile')
-rw-r--r--games/dipmap/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/dipmap/Makefile b/games/dipmap/Makefile
new file mode 100644
index 00000000000..79ecd3e26de
--- /dev/null
+++ b/games/dipmap/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/02 13:15:56 wiz Exp $
+
+DISTNAME= mapit.v1-16
+PKGNAME= dipmap-1.16
+WRKSRC= ${WRKDIR}/mapit
+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
+
+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"