aboutsummaryrefslogtreecommitdiff
path: root/net/dgd-net
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-03-12 19:07:23 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-03-12 19:07:23 +0000
commit72f820041cf4e59ca696c35ff97195ae2b6c0bb4 (patch)
tree9d71736587b1f21840d02bc1ce40b30a5a61da00 /net/dgd-net
parent784cc9156e052c3f8c0f408425e4eb8d24cb6751 (diff)
downloadports-72f820041cf4e59ca696c35ff97195ae2b6c0bb4.tar.gz
ports-72f820041cf4e59ca696c35ff97195ae2b6c0bb4.zip
Notes
Diffstat (limited to 'net/dgd-net')
-rw-r--r--net/dgd-net/Makefile8
-rw-r--r--net/dgd-net/files/patch-makefile10
2 files changed, 12 insertions, 6 deletions
diff --git a/net/dgd-net/Makefile b/net/dgd-net/Makefile
index 8006e8d35996..5136c23110c4 100644
--- a/net/dgd-net/Makefile
+++ b/net/dgd-net/Makefile
@@ -8,15 +8,12 @@
PORTNAME= dgd-net
PORTVERSION= 1.2
CATEGORIES= net lang
-MASTER_SITES= ftp://ftp.dworkin.nl/pub/dgd/archive/ \
- http://dl.droso.net/ports/
-DISTNAME= dgd-${PORTVERSION}
+MASTER_SITES= http://ftp.dworkin.nl/dgd/archive/
+DISTNAME= ${PORTNAME:S/-net//g}-${PORTVERSION}
MAINTAINER= araujo@FreeBSD.org
COMMENT= Dworkin's Generic Driver + extra networking support + regexps
-BROKEN= sources not available
-
NO_CDROM= no distribution to corporate environment
RESTRICTED= license required for commercial use
@@ -35,7 +32,6 @@ post-build:
@${CHMOD} o+r ${WRKDIR}/dgd/doc/kfun/*
do-install:
- @-${MV} ${PREFIX}/dgd/bin/driver.net ${PREFIX}/dgd/bin/driver.net.old
@${TAR} -C ${WRKDIR} -cf - `${GREP} '^dgd/' ${PLIST}` \
| ${TAR} -C ${PREFIX} -xpf -
diff --git a/net/dgd-net/files/patch-makefile b/net/dgd-net/files/patch-makefile
new file mode 100644
index 000000000000..5934e0f7e13f
--- /dev/null
+++ b/net/dgd-net/files/patch-makefile
@@ -0,0 +1,10 @@
+--- Makefile 2009-03-12 15:54:23.000000000 -0300
++++ Makefile.orig 2009-03-12 15:54:35.000000000 -0300
+@@ -38,7 +38,6 @@
+ @rm -f a.out
+
+ $(BIN)/driver: a.out
+- -mv $(BIN)/driver $(BIN)/driver.old
+ cp a.out $(BIN)/driver
+
+ install: $(BIN)/driver