summaryrefslogtreecommitdiff
path: root/net/dgd/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-08 01:56:53 +0000
committerminskim <minskim@pkgsrc.org>2004-03-08 01:56:53 +0000
commit16dbb0caabdf7416da2efd424f6051349eb13ee2 (patch)
treeb1d038de860120a201087618ecc8b9018b910a48 /net/dgd/Makefile
parent7e9491cc6c12dcd5aa85d3f0d6d5cb0cae4e3e0c (diff)
downloadpkgsrc-16dbb0caabdf7416da2efd424f6051349eb13ee2.tar.gz
Update dgd to 1.2.0.4. Patch provided by the maintainer, Scott Thompson,
in PR pkg/24698. Changes: - Fixed a bug with deleting mapping elements in atomic code. - Allow allocation of blocks up to 1G in size. - Fixed a bug that could cause a crash during the atomic commit phase. - While restoring a callout, not all appropriate fields were zeroed. - Some fixes to get restarting to work. - Make sure that a callout handle is not truncated to 16 bits before an attempt is made to remove it. - Made sure that destructing the driver object in atomic code does not lead to trouble. - Fixed a problem with driver->recompile() in multi-level atomic code. - Input blocking for binary connections didn't work. Additionally, this update changes LICENSE to the more accurate "fee-based-commercial-use."
Diffstat (limited to 'net/dgd/Makefile')
-rw-r--r--net/dgd/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile
index 47eb3ea4476..62b46b907b1 100644
--- a/net/dgd/Makefile
+++ b/net/dgd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2004/01/20 12:22:19 agc Exp $
+# $NetBSD: Makefile,v 1.6 2004/03/08 01:56:53 minskim Exp $
-DISTNAME= dgd-1.2p3
-PKGNAME= dgd-1.2.0.3
+DISTNAME= dgd-1.2p4
+PKGNAME= dgd-1.2.0.4
CATEGORIES= net games
MASTER_SITES= ftp://ftp.dworkin.nl/pub/dgd/
@@ -9,9 +9,20 @@ MAINTAINER= sco@openface.ca
HOMEPAGE= http://www.dworkin.nl/dgd/
COMMENT= Object-oriented programmable server
-LICENSE= no-commercial-use
+LICENSE= fee-based-commercial-use
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}/dgd/src
+USE_BUILDLINK3= yes
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths and command names."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= ../mud.dgd
+SUBST_SED.paths= -e 's,/home/dworkin/,${PREFIX}/libdata/,g'
+
+INSTALLATION_DIRS= libexec
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/libexec/dgd
@@ -25,7 +36,6 @@ do-install:
${GTAR} cCf ${WRKDIR}/dgd - mud | ${GTAR} xCf ${PREFIX}/libdata/dgd -
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/libdata/dgd \
${PREFIX}/share/doc/dgd
- ${SED} -e "s#@PREFIX@#${PREFIX}#" ${WRKSRC}/../mud.dgd > \
- ${PREFIX}/share/examples/dgd/mud.dgd
+ ${INSTALL_DATA} ${WRKSRC}/../mud.dgd ${PREFIX}/share/examples/dgd
.include "../../mk/bsd.pkg.mk"