openbsd-ports/devel/ddd/Makefile
espie e96352f139 Fake.
Mark as BROKEN, *no-one* has even tried to fix the numerous tmpnam() warnings
yet, which are OBVIOUS, ACTUAL SECURITY RISKS in every case.
2000-03-12 02:16:27 +00:00

53 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2000/03/12 02:16:27 espie Exp $
DISTNAME= ddd-3.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ddd
# The security of this port is really bad
BROKEN= "Lots of genuine tmpnam() warnings"
MAINTAINER= ports@openbsd.org
LICENSE_TYPE= GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_MOTIF= Yes
USE_GMAKE= Yes
#USE_X11= yes
FAKE= Yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
pre-build:
@echo ""
@echo "*** WARNING: you may see an error such as"
@echo "*** virtual memory exhausted"
@echo "*** when building this package. If you do you must increase"
@echo "*** your limits. See the man page for your shell and look"
@echo "*** for the 'limit' or 'ulimit' command."
@echo ""
post-install:
${INSTALL_DATA_DIR} ${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.ps ${PREFIX}/share/doc/ddd
${INSTALL_DATA} ${WRKSRC}/doc/sample.c ${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.ps
check: build
@cd ${WRKSRC}; ${MAKE_PROGRAM} check
.include <bsd.port.mk>