diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-03-19 17:06:58 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-03-19 17:06:58 +0000 |
commit | d5884de28bd9f793941483f3aa5a351ed0c1c19e (patch) | |
tree | f39ff0c5c4c8903ae094aba556f0f090305aca62 | |
parent | Update to 2.41 (diff) |
. Add an ANSI option to allow DGD to pass so-called ANSI colour codes.
-rw-r--r-- | net/dgd/Makefile | 22 | ||||
-rw-r--r-- | net/dgd/distinfo | 2 |
2 files changed, 18 insertions, 6 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile index 538cfc955839..457f83800857 100644 --- a/net/dgd/Makefile +++ b/net/dgd/Makefile @@ -19,7 +19,8 @@ COMMENT= Dworkin's Generic Driver (network server) NO_CDROM= "no distribution to corporate environment" RESTRICTED= "license required for commercial use" -OPTIONS= NETWORKING "With networking kfuns" off +OPTIONS= NETWORKING "With networking kfuns" off \ + ANSI "Allow ANSI escape codes" off DIST_SUBDIR= dgd WRKSRC= ${WRKDIR}/dgd/src @@ -29,16 +30,25 @@ USE_REINPLACE= yes .include <bsd.port.pre.mk> -.ifdef (WITH_NETWORKING) -PATCH_SITES= ftp://noname.franken.de/pub/dgd/ -PATCHFILES= Network-1-DGD-1.2p3-patch.gz -PATCH_DIST_STRIP= -p1 -PATCH_STRIP= -p0 -F 3 +.if defined(WITH_NETWORKING) +PATCH_SITES+= ftp://noname.franken.de/pub/dgd/ +PATCHFILES+= Network-1-DGD-1.2p3-patch.gz PLIST_SUB+= NETWORKING="" .else PLIST_SUB+= NETWORKING="@comment " .endif +.ifdef (WITH_ANSI) +PATCH_SITES+= http://www.eyesbeyond.com/dgd/ +PATCHFILES+= ansi.diff +.endif + +.if defined(WITH_NETWORKING) || defined(WITH_ANSI) +PATCH_SITES+= ${MASTER_SITE_LOCAL:S|%SUBDIR%|glewis/dgd|} +PATCH_DIST_STRIP= -p1 +PATCH_STRIP= -p0 -F 3 +.endif + do-configure: ${REINPLACE_CMD} -e "s:%%DATADIR%%:${DATADIR}:" ${WRKDIR}/dgd/mud.dgd diff --git a/net/dgd/distinfo b/net/dgd/distinfo index 88c26d6cf899..14e5a40bb28d 100644 --- a/net/dgd/distinfo +++ b/net/dgd/distinfo @@ -2,3 +2,5 @@ MD5 (dgd/dgd-1.2p4.tar.gz) = 130a14cb2a09892bd742b6d85d0d9e16 SIZE (dgd/dgd-1.2p4.tar.gz) = 472205 MD5 (dgd/Network-1-DGD-1.2p3-patch.gz) = 6204e4072df50a7fcf75b0968fa659e9 SIZE (dgd/Network-1-DGD-1.2p3-patch.gz) = 11043 +MD5 (dgd/ansi.diff) = 0a33d9f19b2d7f6dd6786d4dc98e9b9b +SIZE (dgd/ansi.diff) = 595 |