pkgsrc/x11/ebuilder/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

23 lines
510 B
Makefile

# $NetBSD: Makefile,v 1.5 2000/07/15 20:39:25 agc Exp $
#
DISTNAME= ebuilder-0.56c
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= x11 devel
MASTER_SITES= http://www.phys.uu.nl/~meer/Ebuilder/src/
MAINTAINER= drochner@netbsd.org
HOMEPAGE= http://www.phys.uu.nl/~meer/Ebuilder/
DEPENDS+= qt2-*:../../x11/qt
DEPENDS+= png-*:../../graphics/png
USE_X11= yes
EVAL_PREFIX+= QT2DIR=qt2
MAKE_ENV= QTDIR=${QT2DIR}/qt2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ebuilder ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"