blob: 5ea0e84827095ecd5828b0b9e6b8c41f12c993df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.44 2012/09/07 19:16:44 adam Exp $
#
DISTNAME= gfract-0.32
PKGREVISION= 12
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
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
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"
|