openbsd-ports/devel/ddd/Makefile

48 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2000/02/15 05:04:11 turan Exp $
DISTNAME= ddd-3.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ddd
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
GNU_CONFIGURE= yes
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
@install-info ${PREFIX}/info/ddd.info ${PREFIX}/info/dir
check: build
@cd ${WRKSRC}; ${MAKE_PROGRAM} check
.include <bsd.port.mk>