freebsd-ports/net/dgd-net/Makefile
Yen-Ming Lee 9f5707baa5 - 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
2004-11-04 04:56:09 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: dgd-net
# Date created: 17 June 1996
# Whom: adam
#
# $FreeBSD$
#
PORTNAME= dgd-net
PORTVERSION= 1.1.8
CATEGORIES= net lang
MASTER_SITES= ftp://ftp.dworkin.nl/pub/dgd/archive/ \
http://dl.droso.net/ports/
DISTNAME= dgd-${PORTVERSION:C/.([0-9]*)$/p\1/}
MAINTAINER= ports@FreeBSD.org
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
ALL_TARGET= install
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
USE_GCC= 3.3
.endif
pre-patch:
@${LN} -s dgd ${WRKDIR}/dgd+net
@${MKDIR} ${WRKDIR}/dgd/bin
post-build:
@${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
@${MV} ${WRKDIR}/dgd/doc/kfun/send_message ${WRKDIR}/dgd/doc/kfun/send_message.NET
@${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 -
.include <bsd.port.post.mk>