pkgsrc/graphics/giram/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

31 lines
830 B
Makefile

# $NetBSD: Makefile,v 1.12 2000/07/15 20:39:20 agc Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1999/06/19 17:38:24 cpiazza Exp $
DISTNAME= Giram-0.1.2
PKGNAME= giram-0.1.2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.minet.net/pub/giram/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.minet.net/giram/
DEPENDS+= Mesa-*:../../graphics/Mesa
DEPENDS+= esound-*:../../audio/esound
DEPENDS+= gnome-libs-*:../../x11/gnome-libs
DEPENDS+= povray-*:../../graphics/povray
USE_X11= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
EVAL_PREFIX+= GTKDIR=gtk+
CONFIGURE_ENV= GTK_CONFIG="${GTKDIR}/bin/gtk-config" \
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
ALL_TARGET= install-strip
post-install:
@${MKDIR} ${PREFIX}/share/examples/Giram
${INSTALL_DATA} ${WRKSRC}/SampleScenes/* ${PREFIX}/share/examples/Giram/
.include "../../mk/bsd.pkg.mk"