diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2010-10-03 18:08:26 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2010-10-03 18:08:26 +0000 |
commit | e5bdf5e7f2c86775c15ba9d777f9823a220e05eb (patch) | |
tree | a54a1eb4781b7cc5fd50e28147a89add87b3bb0a /net/dgd | |
parent | e9a532c3a941210453ec38d56af6c811e164c877 (diff) | |
download | ports-e5bdf5e7f2c86775c15ba9d777f9823a220e05eb.tar.gz ports-e5bdf5e7f2c86775c15ba9d777f9823a220e05eb.zip |
Notes
Diffstat (limited to 'net/dgd')
-rw-r--r-- | net/dgd/Makefile | 11 | ||||
-rw-r--r-- | net/dgd/distinfo | 6 | ||||
-rw-r--r-- | net/dgd/files/patch-src-Makefile | 15 |
3 files changed, 20 insertions, 12 deletions
diff --git a/net/dgd/Makefile b/net/dgd/Makefile index 0f1c9db45dc3..7228073d82ca 100644 --- a/net/dgd/Makefile +++ b/net/dgd/Makefile @@ -6,7 +6,7 @@ # PORTNAME= dgd -PORTVERSION= 1.4.3 +PORTVERSION= 1.4.5 CATEGORIES= net lang games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S|%SUBDIR%|${PORTNAME}-osr|} \ ${MASTER_SITE_SOURCEFORGE:S|%SUBDIR%|${PORTNAME}-osr/old|} @@ -14,8 +14,11 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S|%SUBDIR%|${PORTNAME}-osr|} \ MAINTAINER= glewis@FreeBSD.org COMMENT= Dworkin\'s Game Driver +LICENSE= GPLv3 + OPTIONS= NETWORKING "With networking kfuns" off \ - DUMP "With dump kfuns" off + DUMP "With dump kfuns" off \ + LPC_EXTENSION "With LPC extension interface" off DIST_SUBDIR= dgd WRKSRC= ${WRKDIR}/dgd/src @@ -40,6 +43,10 @@ EXTRA_DEFINES+= -DNETWORK_EXTENSIONS EXTRA_DEFINES+= -DDUMP_FUNCS .endif +.if defined(WITH_LPC_EXTENSION) +EXTRA_DEFINES+= -DLPC_EXTENSION +.endif + post-patch: @${MV} ${WRKSRC}/host/Makefile.bsd ${WRKSRC}/host/Makefile @cd ${WRKDIR}/dgd/ && ${FIND} . -name '*.orig' -delete diff --git a/net/dgd/distinfo b/net/dgd/distinfo index 99c2c31542dc..53dfde32ff31 100644 --- a/net/dgd/distinfo +++ b/net/dgd/distinfo @@ -1,3 +1,3 @@ -MD5 (dgd/dgd-1.4.3.tar.gz) = e8b60efb3bece4668c1a3ff6044cb601 -SHA256 (dgd/dgd-1.4.3.tar.gz) = 1a5cc9fa14aa6eef827646e690a309cbafa7449a0ff13916c1770253f956314d -SIZE (dgd/dgd-1.4.3.tar.gz) = 459818 +MD5 (dgd/dgd-1.4.5.tar.gz) = 9fb2957db55b35ea9d55310058c0b21e +SHA256 (dgd/dgd-1.4.5.tar.gz) = 5d984f7ef6065cb2448875d61b9a70517b848d8901ff36a70595bdf7f4cc5356 +SIZE (dgd/dgd-1.4.5.tar.gz) = 462639 diff --git a/net/dgd/files/patch-src-Makefile b/net/dgd/files/patch-src-Makefile index f21e5de91852..bc0b04c5d4d0 100644 --- a/net/dgd/files/patch-src-Makefile +++ b/net/dgd/files/patch-src-Makefile @@ -1,18 +1,19 @@ $FreeBSD$ ---- src/Makefile.orig 2010-02-12 13:38:01.000000000 -0800 -+++ src/Makefile 2010-02-20 08:54:47.000000000 -0800 +--- src/Makefile.orig 2010-07-31 06:24:45.000000000 -0700 ++++ src/Makefile 2010-10-02 10:50:17.000000000 -0700 @@ -16,16 +16,15 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # HOST= DARWIN --DEFINES=-D$(HOST) #-DNETWORK_EXTENSIONS #-DDUMP_FUNCS +-DEFINES=-D$(HOST) #-DNETWORK_EXTENSIONS #-DLPC_EXTENSION #-DDUMP_FUNCS -DEBUG= -O -g -+DEFINES=-D$(HOST) $(EXTRA_DEFINES) #-DNETWORK_EXTENSIONS #-DDUMP_FUNCS - CCFLAGS=$(DEFINES) $(DEBUG) +-CCFLAGS=$(DEFINES) $(DEBUG) ++DEFINES=-D$(HOST) $(EXTRA_DEFINES) #-DNETWORK_EXTENSIONS #-DLPC_EXTENSION #-DDUMP_FUNCS ++CCFLAGS=$(DEFINES) CFLAGS= -I. -Icomp -Ilex -Ied -Iparser -Ikfun $(CCFLAGS) LDFLAGS= - LIBS= + LIBS= #-ldl LINTFLAGS=-abcehpruz -CC= gcc +CC?= gcc @@ -24,7 +25,7 @@ $FreeBSD$ @@ -36,6 +35,8 @@ COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o sdata.o data.o \ - interpret.o config.o + interpret.o config.o ext.o +all: a.out comp/a.out + |