aboutsummaryrefslogblamecommitdiff
path: root/net/dgd/Makefile
blob: 8783af5ee19f654a2cb09cf0e44ba0e5a520dded (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
                           


                                      
                                                     
 
 
                         
                              
                        

                                                                 
                                                
                                                    
 

                                                                         


                                                            
                          

                          
 

                            

                                                          
 
                   
                                 




                                                                             
 

                                      
                                           
 
           
                                                                  
                                                                

                                         
                      
# New ports collection makefile for:	dgd
# Version required:	1.1
# Date created:		23 August 1994
# Whom:			adam
#
# $Id: Makefile,v 1.74 1997/07/01 02:37:37 adam Exp $
#

DISTNAME=	dgd-1.1p4
DISTFILES=	dgd-1.1.tar.gz
CATEGORIES=	net lang
MASTER_SITES=	ftp://ftp.imaginary.com/pub/LPC/servers/DGD/ \
		ftp://ftp.lysator.liu.se/pub/lpmud/drivers/dgd/ \
		ftp://ftp.veda.is/pub/mud/dgd/ \
		ftp://ftp.dreamlabs.com/pub/mud/dgd/

PATCH_SITES=	ftp://ftp.imaginary.com/pub/LPC/servers/DGD/patches/ \
		ftp://ftp.lysator.liu.se/pub/lpmud/drivers/dgd/patches/ \
		ftp://ftp.veda.is/pub/mud/dgd/patches/ \
		ftp://ftp.dreamlabs.com/pub/mud/dgd/patches/
PATCHFILES=	1.1p1.gz \
		1.1p2.gz \
		1.1p3.gz \
		1.1p4.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
.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

post-build:
	@cd ${WRKSRC}; ${MAKE} install
	@chmod o+r ${WRKDIR}/dgd/doc/kfun/*

do-install:
	@-mv ${PREFIX}/dgd/bin/driver ${PREFIX}/dgd/bin/driver.old
	@tar -C ${WRKDIR} -cf - `grep '^dgd/' ${PKGDIR}/PLIST` \
		| tar -C ${PREFIX} -xpf -

.include <bsd.port.mk>