blob: 3af0b6ae0c256b523f78e15193797d718ac78198 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# $NetBSD: Makefile.common,v 1.5 2002/10/03 14:25:04 wiz Exp $
#
DISTNAME= gwydion-dylan-${DYLAN_VERSION}
CATEGORIES= lang
MASTER_SITES= ftp://berlin.ccc.de/pub/gd/src/ \
ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/src/ \
ftp://ftp.infodrom.north.de/pub/unix/language/dylan/gwydion/src/ \
ftp://folk.federated.com/pub/gd/src/ \
ftp://cymru.basistech.com/pub/mirrors/gd/src/ \
ftp://ftp.ntua.gr/pub/lang/gwydion/src/ \
ftp://ftp.kddlabs.co.jp/lang/dylan/gwydion/src/ \
ftp://gd.tuwien.ac.at/languages/gwydiondylan/src/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gwydiondylan.org/
COMMENT= functional language
USE_GMAKE= yes
MAKEFILE= GNUmakefile
ALL_TARGET= default
GNU_CONFIGURE= yes
AUTOMAKE_REQD= 1.4
DYLAN_VERSION= 2.3.6
# other architecture changes will be gratefully received
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-powerpc
USE_PERL5= yes
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "i386"
ALT_ARCH= x86
.elif ${MACHINE_ARCH} == "powerpc"
ALT_ARCH= ppc
.else
ALT_ARCH= ${MACHINE_ARCH}
.endif
PLIST_SUBST+= ALT_ARCH=${ALT_ARCH}
PLIST_SUBST+= DYLAN_VERSION=${DYLAN_VERSION}
post-patch:
cd ${WRKSRC}; \
for f in tools/melange/netbsd-portability.dylan; do \
${MV} $$f $$f.in && \
${SED} -e 's|@prefix@|${PREFIX}|g' $$f.in > $$f; \
done
pre-configure:
cd ${WRKSRC} && ${ACLOCAL}
cd ${WRKSRC} && ${PREFIX}/bin/libtoolize --force --copy
cd ${WRKSRC} && ${AUTOHEADER}
cd ${WRKSRC} && ${AUTOCONF}
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"
|