2011-01-13 14:36:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.39 2011/01/13 13:38:02 wiz Exp $
|
2001-08-13 00:07:50 +02:00
|
|
|
#
|
|
|
|
|
2006-01-26 07:42:35 +01:00
|
|
|
DISTNAME= gfract-0.32
|
2011-01-13 14:36:05 +01:00
|
|
|
PKGREVISION= 7
|
2004-01-11 21:23:15 +01:00
|
|
|
CATEGORIES= graphics x11
|
2006-01-25 21:50:31 +01:00
|
|
|
MASTER_SITES= http://www.oskusoft.com/osku/gfract/
|
2004-01-11 21:23:15 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gfract-palettes-0.1.tar.gz
|
2001-08-13 00:07:50 +02:00
|
|
|
|
2006-12-15 15:34:18 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-01-25 21:50:31 +01:00
|
|
|
HOMEPAGE= http://www.oskusoft.com/osku/gfract/index.html
|
2004-01-11 21:23:15 +01:00
|
|
|
COMMENT= Gtk-based fractal program
|
2001-08-13 00:07:50 +02:00
|
|
|
|
2008-03-04 16:39:09 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-05-15 23:40:00 +02:00
|
|
|
USE_LANGUAGES= c++
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= gfract
|
2004-01-11 21:23:15 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= prefix
|
2006-01-25 21:50:31 +01:00
|
|
|
SUBST_MESSAGE.prefix= Fixing prefix.
|
2004-11-25 17:31:05 +01:00
|
|
|
SUBST_STAGE.prefix= post-extract
|
|
|
|
SUBST_FILES.prefix= main.cpp
|
|
|
|
SUBST_SED.prefix= -e "s,/usr/local,${PREFIX},g"
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2004-12-14 21:36:54 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
|
2001-08-13 00:07:50 +02:00
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKDIR}/monk2\'.map ${WRKDIR}/monk2.map
|
|
|
|
|
|
|
|
do-install:
|
2008-03-04 16:39:09 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/gfract
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/gfract/palettes
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/*.map \
|
|
|
|
${DESTDIR}${PREFIX}/share/gfract/palettes/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gfract.xpm ${DESTDIR}${PREFIX}/share/gfract/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gfract ${DESTDIR}${PREFIX}/bin/
|
2001-08-13 00:07:50 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|