pkgsrc/graphics/gfract/Makefile
jlam 7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2005/08/10 20:56:17 jlam Exp $
#
DISTNAME= gfract-0.30
CATEGORIES= graphics x11
MASTER_SITES= http://www.cs.Helsinki.FI/u/salerma/gfract/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gfract-palettes-0.1.tar.gz
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://www.cs.Helsinki.FI/u/salerma/gfract/
COMMENT= Gtk-based fractal program
USE_TOOLS+= gmake pkg-config
BUILD_TARGET= gfract
PKG_INSTALLATION_TYPES= overwrite pkgviews
SUBST_CLASSES= prefix
SUBST_MESSAGE.prefix= "Fixing prefix."
SUBST_STAGE.prefix= post-extract
SUBST_FILES.prefix= main.cpp
SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g"
INSTALLATION_DIRS= bin
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
post-extract:
${MV} ${WRKDIR}/monk2\'.map ${WRKDIR}/monk2.map
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/gfract
${INSTALL_DATA_DIR} ${PREFIX}/share/gfract/palettes
${INSTALL_DATA} ${WRKDIR}/*.map ${PREFIX}/share/gfract/palettes/
${INSTALL_DATA} ${WRKSRC}/gfract.xpm ${PREFIX}/share/gfract/
${INSTALL_PROGRAM} ${WRKSRC}/gfract ${PREFIX}/bin/
.include "../../mk/bsd.pkg.mk"