summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-11-04 04:56:09 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-11-04 04:56:09 +0000
commit9f5707baa5c9edb0a1f947b09a6e72d88a954588 (patch)
treee5690643ccec5e25977b89c42befc53560b693fa /net
parentUpdate to 1.2 to fix the build breakage. (diff)
- add USE_GCC=3.3 when default gcc is 3.4, and unbreak this port
- utilize ALL_TARGET - remove knobs about PATCH_DEBUG - use DISTNAME instead of DISTFILES
Diffstat (limited to 'net')
-rw-r--r--net/dgd-net/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/net/dgd-net/Makefile b/net/dgd-net/Makefile
index 5c9e63e70d3a..5c068a6942b7 100644
--- a/net/dgd-net/Makefile
+++ b/net/dgd-net/Makefile
@@ -10,26 +10,22 @@ PORTVERSION= 1.1.8
CATEGORIES= net lang
MASTER_SITES= ftp://ftp.dworkin.nl/pub/dgd/archive/ \
http://dl.droso.net/ports/
-DISTFILES= dgd-1.1p8.tar.gz
+DISTNAME= dgd-${PORTVERSION:C/.([0-9]*)$/p\1/}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Dworkin's Generic Driver + extra networking support + regexps
+COMMENT= "Dworkin's Generic Driver + extra networking support + regexps"
NO_CDROM= "no distribution to corporate environment"
RESTRICTED= "license required for commercial use"
DIST_SUBDIR= dgd
WRKSRC= ${WRKDIR}/dgd/src
-.if defined(PATCH_DEBUG)
-PATCH_DIST_ARGS= -d ${WRKDIR} -E ${PATCH_DIST_STRIP}
-.else
-PATCH_DIST_ARGS= -d ${WRKDIR} --forward --quiet -E ${PATCH_DIST_STRIP}
-.endif
+ALL_TARGET= install
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
+USE_GCC= 3.3
.endif
pre-patch:
@@ -37,7 +33,6 @@ pre-patch:
@${MKDIR} ${WRKDIR}/dgd/bin
post-build:
- @cd ${WRKSRC}; ${MAKE} install
@${MV} ${WRKDIR}/dgd/bin/driver ${WRKDIR}/dgd/bin/driver.net
@${MV} ${WRKDIR}/dgd/bin/precomp ${WRKDIR}/dgd/bin/precomp.net
@${MV} ${WRKDIR}/dgd/doc/Introduction ${WRKDIR}/dgd/doc/Introduction.NET