openbsd-ports/devel/dejagnu/Makefile
1998-01-30 00:42:57 +00:00

35 lines
815 B
Makefile

# OpenBSD makefile for: dejagnu
# Version required: 1.3
# Date created: 29 Jan 1998
# Whom: niklas
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/01/30 00:42:57 niklas Exp $
#
DISTNAME= dejagnu-1.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= niklas@openbsd.org
BUILD_DEPENDS= expect:${PORTSDIR}/lang/expect
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tclinclude=${PREFIX}/include/tcl8.0/generic \
--with-tkinclude=${PREFIX}/include/tk8.0/generic
post-extract:
@rm -rf ${WRKSRC}/{expect,tcl}
post-build:
cd ${WRKSRC}; ${MAKE} info
post-install:
cd ${WRKSRC}; ${MAKE} install-info
@if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/dejagnu.info ${PREFIX}/info/dir
.include <bsd.port.mk>