pkgsrc/sysutils/kapm/Makefile
agc 78748d628a Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,
which takes entries of the format <make-definition-name>=<pkgname>. This
has not been added to MAKEFLAGS because (a) premature optimisation is the
root of all evil, and (b) because the .for loop used to implement this
shows the wrong results when multiple prefices are evaluated.

Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying
them considerably.

ALso simplify the logic to calculate the prefix as well.
2000-07-15 20:39:13 +00:00

25 lines
620 B
Makefile

# $NetBSD: Makefile,v 1.9 2000/07/15 20:39:24 agc Exp $
#
DISTNAME= kapm-0.3.1
CATEGORIES= sysutils x11 kde
MASTER_SITES= ftp://bodnar42.dhs.org/pub/kapm/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://bodnar42.dhs.org/kapm/
.if !exists(/usr/include/machine/apmvar.h)
IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
.endif
DEPENDS+= kdebase-1.1.2:../../x11/kdebase
USE_X11BASE= YES # to get things near KDE
GNU_CONFIGURE= YES
EVAL_PREFIX+= QT1DIR=qt1
CONFIGURE_ENV+= QTDIR=${QT1DIR}/qt1
CONFIGURE_ENV+= MOC=${QT1DIR}/qt1/bin/moc
CONFIGURE_ARGS+=--with-qt-dir=${QT1DIR}/qt1
.include "../../mk/bsd.pkg.mk"