42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2000/02/11 05:50:24 kevlo Exp $
|
|
|
|
DISTNAME= ddd-3.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ddd
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
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>
|