blob: f10fe3384eea717ceb1070fb99871d41212b47ed (
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
|
# $NetBSD: Makefile,v 1.12 2003/07/21 16:51:41 martti Exp $
#
DISTNAME= gfract-0.21
PKGREVISION= 3
CATEGORIES= graphics x11
MASTER_SITES= http://www.cs.Helsinki.FI/u/salerma/gfract/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gfract-palettes-0.1.tar.gz
MAINTAINER= collver1@comcast.net
HOMEPAGE= http://www.cs.Helsinki.FI/u/salerma/gfract/
COMMENT= Gtk-based fractal program
USE_BUILDLINK2= yes
USE_X11= yes
ALL_TARGET= gfract
post-extract:
${MV} ${WRKDIR}/monk2\'.map ${WRKDIR}/monk2.map
files="main.c"; \
cd ${WRKSRC}; for file in $${files}; do \
${MV} $${file} $${file}.fixme; \
${SED} -e "s|/usr/local/|${PREFIX}/|g" \
$${file}.fixme > $${file}; \
if [ -x $${file}.fixme ]; then \
${CHMOD} +x $${file}; \
fi; \
${RM} $${file}.fixme; \
done
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 "../../graphics/png/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|