diff options
author | sakamoto <sakamoto> | 1999-12-14 01:49:32 +0000 |
---|---|---|
committer | sakamoto <sakamoto> | 1999-12-14 01:49:32 +0000 |
commit | 09bf644f209fa6a295b2c0a841fd62e53256bfda (patch) | |
tree | 7f338b465523a038f4024188e785e62fe575c61a /games/xemeraldia | |
parent | 05401e3a29d07b0435f4b32b115e4613094bb74c (diff) | |
download | pkgsrc-09bf644f209fa6a295b2c0a841fd62e53256bfda.tar.gz |
Adapt this package to NetBSD.
Diffstat (limited to 'games/xemeraldia')
-rw-r--r-- | games/xemeraldia/Makefile | 25 | ||||
-rw-r--r-- | games/xemeraldia/files/md5 | 2 | ||||
-rw-r--r-- | games/xemeraldia/files/patch-sum | 5 | ||||
-rw-r--r-- | games/xemeraldia/patches/patch-aa | 4 | ||||
-rw-r--r-- | games/xemeraldia/patches/patch-ab | 2 | ||||
-rw-r--r-- | games/xemeraldia/patches/patch-ac | 2 | ||||
-rw-r--r-- | games/xemeraldia/pkg/PLIST | 11 |
7 files changed, 32 insertions, 19 deletions
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile index fb8cbc2a382..78c393b1865 100644 --- a/games/xemeraldia/Makefile +++ b/games/xemeraldia/Makefile @@ -1,10 +1,5 @@ -# New ports collection makefile for: xemeraldia -# Version required: 0.31 -# Date created: 22 Mar 1995 -# Whom: asami -# -# $FreeBSD: ports/games/xemeraldia/Makefile,v 1.17 1999/12/10 19:24:55 steve Exp $ -# +# $NetBSD: Makefile,v 1.2 1999/12/14 01:49:32 sakamoto Exp $ +# FreeBSD Id: ports/games/xemeraldia/Makefile,v 1.17 1999/12/10 19:24:55 steve Exp DISTNAME= xemeraldia-0.3 PKGNAME= xemeraldia-0.31 @@ -15,14 +10,18 @@ PATCH_SITES= ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/apr/ PATCHFILES= xemeraldia-0.3to0.31.patch.gz PATCH_DIST_STRIP= -p1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sakamoto@netbsd.org USE_IMAKE= yes -NO_INSTALL_MANPAGES= yes +ALL_TARGET= xemeraldia + +GAMES_DIR= share/games +MAKE_ENV+= GAMES_DIR="${GAMES_DIR}" +PLIST_SUBST= GAMES_DIR="${GAMES_DIR}" post-install: - @${MKDIR} ${PREFIX}/lib/X11/xemeraldia - @${TOUCH} ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores - @${CHMOD} 666 ${PREFIX}/lib/X11/xemeraldia/xemeraldia.scores + @${MKDIR} ${PREFIX}/${GAMES_DIR}/xemeraldia + @${TOUCH} ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores + @${CHMOD} 666 ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores -.include <bsd.port.mk> +.include "../../mk/bsd.pkg.mk" diff --git a/games/xemeraldia/files/md5 b/games/xemeraldia/files/md5 index 998168efc0e..f15f49c6fe8 100644 --- a/games/xemeraldia/files/md5 +++ b/games/xemeraldia/files/md5 @@ -1,2 +1,4 @@ +$NetBSD: md5,v 1.2 1999/12/14 01:49:33 sakamoto Exp $ + MD5 (xemeraldia-0.3.tar.gz) = 35c30637ea597ce995d8b51a3d8e4080 MD5 (xemeraldia-0.3to0.31.patch.gz) = 77287135b5d28d67c1245241dbd6534f diff --git a/games/xemeraldia/files/patch-sum b/games/xemeraldia/files/patch-sum new file mode 100644 index 00000000000..e3d3f316c25 --- /dev/null +++ b/games/xemeraldia/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1 1999/12/14 01:49:33 sakamoto Exp $ + +MD5 (patch-aa) = 803acd3dcb6d64c32bcda918a98ba6cb +MD5 (patch-ab) = d6a457412b629f0752776f3de6ed68b0 +MD5 (patch-ac) = b4f82e28f55bb32c0a6429cb64113078 diff --git a/games/xemeraldia/patches/patch-aa b/games/xemeraldia/patches/patch-aa index 237c1811c55..8793986e7f9 100644 --- a/games/xemeraldia/patches/patch-aa +++ b/games/xemeraldia/patches/patch-aa @@ -1,9 +1,11 @@ +$NetBSD: patch-aa,v 1.2 1999/12/14 01:49:33 sakamoto Exp $ + --- Imakefile.orig Thu Dec 9 19:16:34 1999 +++ Imakefile Thu Dec 9 19:27:40 1999 @@ -1,5 +1,4 @@ -BIN_DIR= /usr/local/bin -HIGH_SCORE_DIR= /usr/local/lib -+HIGH_SCORE_DIR= ${LIBDIR}/xemeraldia ++HIGH_SCORE_DIR= ${PREFIX}/${GAMES_DIR}/xemeraldia /*---------------------------------------------------------------------*/ diff --git a/games/xemeraldia/patches/patch-ab b/games/xemeraldia/patches/patch-ab index 95f99eb3790..9321e264a89 100644 --- a/games/xemeraldia/patches/patch-ab +++ b/games/xemeraldia/patches/patch-ab @@ -1,3 +1,5 @@ +$NetBSD: patch-ab,v 1.2 1999/12/14 01:49:33 sakamoto Exp $ + --- XEmeraldia.ad.orig Thu Dec 9 19:16:35 1999 +++ XEmeraldia.ad Thu Dec 9 19:23:20 1999 @@ -32,9 +32,9 @@ diff --git a/games/xemeraldia/patches/patch-ac b/games/xemeraldia/patches/patch-ac index 5e0ab91153c..c5c704cca71 100644 --- a/games/xemeraldia/patches/patch-ac +++ b/games/xemeraldia/patches/patch-ac @@ -1,3 +1,5 @@ +$NetBSD: patch-ac,v 1.2 1999/12/14 01:49:33 sakamoto Exp $ + --- init-graphics.c.orig Mon Mar 20 16:15:38 1995 +++ init-graphics.c Thu Dec 9 19:50:51 1999 @@ -50,7 +50,7 @@ diff --git a/games/xemeraldia/pkg/PLIST b/games/xemeraldia/pkg/PLIST index f8a764b8ab0..5ad0366119c 100644 --- a/games/xemeraldia/pkg/PLIST +++ b/games/xemeraldia/pkg/PLIST @@ -1,6 +1,7 @@ +@comment $NetBSD: PLIST,v 1.2 1999/12/14 01:49:33 sakamoto Exp $ bin/xemeraldia -@exec mkdir -p %D/lib/X11/xemeraldia -@exec touch -f %D/lib/X11/xemeraldia/xemeraldia.scores -@exec chmod 666 %D/lib/X11/xemeraldia/xemeraldia.scores -@unexec rm -f %D/lib/X11/xemeraldia/xemeraldia.scores -@unexec rmdir %D/lib/X11/xemeraldia +@exec mkdir -p %D/${GAMES_DIR}/xemeraldia +@exec touch -f %D/${GAMES_DIR}/xemeraldia/xemeraldia.scores +@exec chmod 666 %D/${GAMES_DIR}/xemeraldia/xemeraldia.scores +@unexec rm -f %D/${GAMES_DIR}/xemeraldia/xemeraldia.scores +@unexec rmdir %D/${GAMES_DIR}/xemeraldia |