freebsd-ports/devel/ddd/Makefile

54 lines
1.6 KiB
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: ddd
1999-03-08 16:23:31 -05:00
# Version required: 3.1.3
# Date created: Tue Jan 28, 1997
# Whom: David O'Brien (obrien@NUXI.com)
#
# $Id: Makefile,v 1.17 1999/05/25 23:49:02 obrien Exp $
#
DISTNAME= ddd-3.1.6
CATEGORIES= devel
1998-12-03 14:03:30 -05:00
MASTER_SITES= ftp://ftp.ips.cs.tu-bs.de/pub/local/softech/ddd/src/ \
1998-11-14 17:37:38 -05:00
ftp://uiarchive.cso.uiuc.edu/pub/packages/ddd/src/ \
1998-12-03 14:03:30 -05:00
ftp://ftp.gre.ac.uk/pub/tools/debuggers/ddd/src/ \
ftp://richb-pc.acc.qc.edu/pub/ddd/src/ \
1998-11-14 17:37:38 -05:00
ftp://ftp.th-darmstadt.de/pub/programming/tools/ddd/src/
MAINTAINER= obrien@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
GNU_CONFIGURE= yes
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-motif-libraries="${LIBXMDIR}"
USE_GMAKE= yes
REQUIRES_MOTIF= yes
MAN1= ddd.1
.if defined(MOTIF_STATIC)
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | ${SED} -e 's/\/libXm\.a//g' | ${AWK} '{print $$1}'
.else
LIBXMDIR!= ${ECHO} ${MOTIFLIB} | ${SED} -e 's/-L//g' | ${AWK} '{print $$1}'
.endif
post-configure:
1999-03-09 04:11:47 -05:00
${ECHO} "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ddd
1997-05-23 01:58:00 -04:00
${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd
1998-02-19 04:43:30 -05:00
${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
1998-02-19 04:43:30 -05:00
${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
1998-02-19 04:43:30 -05:00
check:
(cd ${WRKSRC} ; ${GMAKE} check)
.include <bsd.port.mk>