blob: e4dd336bfb81e87c66936b2bbe012f47c6dd4884 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: dgd-net
# Date created: 17 June 1996
# Whom: adam
#
# $FreeBSD$
#
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}
MAINTAINER= araujo@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
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/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.mk>
|