65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
# New ports collection makefile for: dgd-net
|
|
# Version required: 1.0.63
|
|
# Date created: 17 June 1996
|
|
# Whom: adam
|
|
#
|
|
# $Id: Makefile,v 1.3 1996/07/31 14:57:44 adam Exp $
|
|
#
|
|
|
|
DISTNAME= dgd-net-1.0.63
|
|
DISTFILES= dgd-1.0.37.tar.gz
|
|
CATEGORIES= net lang
|
|
MASTER_SITES= ftp.lysator.liu.se:/pub/lpmud/drivers/dgd/
|
|
|
|
PATCH_SITES= ftp.lysator.liu.se:/pub/lpmud/drivers/dgd/patches/ \
|
|
ftp.lysator.liu.se:/pub/lpmud/drivers/dgd/pkg/ \
|
|
ftp.veda.is:/pub/mud/dgd/patches/
|
|
PATCHFILES= 1.0.37-1.0.39.gz \
|
|
1.0.39-1.0.40.gz \
|
|
1.0.40-1.0.56.gz \
|
|
1.0.56-1.0.57.gz \
|
|
1.0.57-1.0.58.gz \
|
|
1.0.58-1.0.59.gz \
|
|
1.0.59-1.0.60.gz \
|
|
1.0.60-1.0.61.gz \
|
|
1.0.61-1.0.62.gz \
|
|
1.0.62-1.0.63.gz \
|
|
net-10.dgd-61.gz
|
|
|
|
MAINTAINER= adam@veda.is
|
|
|
|
NO_CDROM= no distribution to corporate environment
|
|
RESTRICTED= license required for commercial use
|
|
|
|
DIST_SUBDIR= dgd
|
|
WRKSRC= ${WRKDIR}/dgd/src
|
|
#PATCH_DIST_STRIP= -p1
|
|
|
|
pre-patch:
|
|
@for i in ${WRKSRC}/host/pc/res/*.ico; do \
|
|
mv $$i $$i.bak; \
|
|
echo '\ No newline at end of file' >$$i; \
|
|
done
|
|
@ln -sf ${WRKDIR}/dgd ${WRKSRC}
|
|
|
|
post-patch:
|
|
@for i in ${WRKSRC}/host/pc/res/*.ico; do \
|
|
rm $$i.orig; \
|
|
mv $$i.bak $$i; \
|
|
done
|
|
|
|
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/' ${PKGDIR}/PLIST` \
|
|
| tar -C ${PREFIX} -xpf -
|
|
|
|
.include <bsd.port.mk>
|