openbsd-ports/infrastructure/mk/imake.port.mk

26 lines
612 B
Makefile
Raw Normal View History

#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: imake.port.mk,v 1.8 2012/11/19 12:19:30 espie Exp $
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain.
.if empty(CONFIGURE_STYLE:L:Mnoman)
2008-05-11 15:50:55 -04:00
INSTALL_TARGET += install.man
.endif
2008-05-11 15:50:55 -04:00
XMKMF ?= xmkmf -a
XMKMF += -DPorts
.if !exists(${X11BASE})
2008-05-11 15:50:55 -04:00
IGNORE = "uses imake, but ${X11BASE} not found"
.endif
MODIMAKE_DEPENDS = \
devel/imake \
devel/imake-cf
BUILD_DEPENDS += ${MODIMAKE_DEPENDS}
2008-05-11 15:50:55 -04:00
MODIMAKE_configure = \
cd ${WRKSRC} && ${_SYSTRACE_CMD} ${SETENV} ${MAKE_ENV} ${XMKMF};