blob: 48a70d6ca27a8e5ffc75f32c038017a8146e4eb6 (
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
41
42
43
44
45
46
47
|
# 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= http://dl.droso.net/ports/ \
http://ftp.dyu.edu.tw/FreeBSD/dgd/
DISTFILES= dgd-1.1p8.tar.gz
MAINTAINER= ports@FreeBSD.org
BROKEN= "unfetchable"
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
pre-patch:
@${LN} -s dgd ${WRKDIR}/dgd+net
@${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
@${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>
|