37 lines
850 B
Makefile
37 lines
850 B
Makefile
# $OpenBSD: Makefile,v 1.7 2000/02/16 10:52:09 espie Exp $
|
|
|
|
DISTNAME= dejagnu-1.3
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= niklas@openbsd.org
|
|
|
|
LICENSE_TYPE= GPL
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
PERMIT_PACKAGE_FTP= YES
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
PERMIT_DISTFILES_FTP= YES
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= dejagnu
|
|
|
|
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>
|