summaryrefslogblamecommitdiff
path: root/devel/ddd/Makefile
blob: edbf39acc00b069d6bcacd9e1dfcef6f538b8bbb (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                                    
                                                      

 
                       


                                                                   


                                                                    













                                                            
                                                                  
                                                                    

                                                                          
                                                                            



                                                        


                                       
                      
# ex:ts=8
# Ports collection makefile for:  ddd
# Version required:     	  2.0
# Date created:			  Tue Jan 28, 1997
# Whom:				  David O'Brien (obrien@FreeBSD.org)
#
# $Id: Makefile,v 1.5 1998/02/19 09:43:16 obrien Exp $
#

DISTNAME=	ddd-3.0
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.ips.cs.tu-bs.de/pub/local/softech/ddd/  \
		ftp://richb-pc.acc.qc.edu/pub/ddd/  \
		ftp://ftp.gre.ac.uk/pub/tools/debuggers/ddd/  \
		ftp://uiarchive.cso.uiuc.edu/pub/packages/ddd/  \
		ftp://ftp.th-darmstadt.de/pub/programming/tools/ddd/

MAINTAINER=     obrien@NUXI.com

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
REQUIRES_MOTIF=	yes
MAN1=		ddd.1

post-configure:
	echo "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/ddd
	${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd
	${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/ddd
	${INSTALL_DATA} ${WRKSRC}/doc/ddd-paper.ps ${PREFIX}/share/doc/ddd
	${INSTALL_DATA} ${WRKSRC}/doc/ddd.man.ps ${PREFIX}/share/doc/ddd
	${INSTALL_DATA} ${WRKSRC}/doc/sample.dddinit ${PREFIX}/share/doc/ddd
	${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd-paper.ps
	${GZIP_CMD} ${PREFIX}/share/doc/ddd/ddd.man.ps
.endif

check:
	(cd ${WRKSRC} ; ${GMAKE} check)

.include <bsd.port.mk>