blob: b03a5519b8af1beeeac6d08b4af08ae64d002e1e (
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
|
# $NetBSD: Makefile,v 1.18 2007/06/01 01:12:30 wiz Exp $
#
DISTNAME= galway-0.33
PKGREVISION= 10
CATEGORIES= www x11 gnome
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tgz
MAINTAINER= rh@NetBSD.org
COMMENT= Web editor programmed in Scheme
NO_BUILD= yes
do-configure:
cd ${WRKSRC}; for i in *.scm; do \
${SED} -e "s|/usr/local|${PREFIX}|g" \
-e "s|^\(exec\) guile |\1 ${PREFIX}/${GUILE_SUBDIR}/bin/guile |g" \
-e "s|^\(exec\) guile-gtk |\1 ${PREFIX}/${GUILE_SUBDIR}/bin/guile |g" \
-e "s|guile-config|${PREFIX}/${GUILE_SUBDIR}/bin/guile |g" \
-e "s|(gtk |(gtk-1.2 |g" \
-e "s|(eval |(primitive-eval |g" \
-e "s|(gtk-pixmap-new|&-from-file|g" \
< $$i > $$i.cfg; \
${MV} $$i.cfg $$i; \
${CHMOD} +x $$i; \
done
do-install:
cd ${WRKSRC} && ./install.scm
.include "../../devel/guile-gtk/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|