pkgsrc/graphics/gfract/Makefile
wiz 4e3b1b97c2 librsvg: update bl3.mk to remove libcroco in rust case
recursive bump for the dependency change
2020-03-10 22:08:37 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.68 2020/03/10 22:10:05 wiz Exp $
#
DISTNAME= gfract-0.32
PKGREVISION= 33
CATEGORIES= graphics x11
MASTER_SITES= http://www.oskusoft.com/osku/gfract/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gfract-palettes-0.1.tar.gz
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.oskusoft.com/osku/gfract/index.html
COMMENT= Gtk-based fractal program
USE_LANGUAGES= c++
USE_TOOLS+= gmake pkg-config
BUILD_TARGET= gfract
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} ${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/
.include "../../mk/bsd.pkg.mk"