1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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
This commit is contained in:
Yen-Ming Lee 2004-11-04 04:56:09 +00:00
parent 7660939e0b
commit 9f5707baa5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120751

View File

@ -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