View | Details | Raw Unified | Return to bug 79614
Collapse All | Expand All

(-)Makefile (-25 / +13 lines)
Lines 6-27 Link Here
6
#
6
#
7
7
8
PORTNAME=	dylan
8
PORTNAME=	dylan
9
PORTVERSION=	2.3.11
9
PORTVERSION=	2.4.0
10
PORTREVISION=	1
11
CATEGORIES=	lang
10
CATEGORIES=	lang
12
MASTER_SITES=	http://ftp.gwydiondylan.org/downloads/src/tar/         \
11
MASTER_SITES=	http://www.gwydiondylan.org/downloads/src/tar/         \
13
		ftp://ftp.gwydiondylan.org/pub/gd/src/                 \
12
		http://www.gwydiondylan.org/downloads/binaries/FreeBSD/x86/ \
14
		ftp://ftp.gwydiondylan.org/pub/gd/FreeBSD/             \
13
		ftp://ftp.gwydiondylan.org/downloads/src/tar/         \
15
		ftp://folk.federated.com/pub/gd/src/                   \
14
		ftp://ftp.gwydiondylan.org/downloads/binaries/FreeBSD/x86/ \
16
		ftp://folk.federated.com/pub/gd/FreeBSD/               \
15
		ftp://ftp.ntua.gr/pub/lang/gwydion/src/tar/            \
17
		ftp://ftp.ntua.gr/pub/lang/gwydion/src/                \
16
		ftp://ftp.ntua.gr/pub/lang/gwydion/binaries/FreeBSD/x86/ \
18
		ftp://ftp.ntua.gr/pub/lang/gwydion/FreeBSD/            \
17
		ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/src/tar/   \
19
		ftp://ftp.infodrom.north.de/pub/unix/language/dylan/gwydion/src/ \
18
		ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/binaries/FreeBSD/x86/
20
		ftp://ftp.infodrom.north.de/pub/unix/language/dylan/gwydion/FreeBSD/ \
19
21
		ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/src/   \
22
		ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/FreeBSD/ \
23
		ftp://ftp.kddlabs.co.jp/lang/dylan/gwydion/src/	       \
24
		ftp://ftp.kddlabs.co.jp/lang/dylan/gwydion/FreeBSD/
25
DISTNAME=	gwydion-dylan-${PORTVERSION}
20
DISTNAME=	gwydion-dylan-${PORTVERSION}
26
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} d2c-${PORTVERSION}-FreeBSD.gz
21
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} d2c-${PORTVERSION}-FreeBSD.gz
27
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
22
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
Lines 51-60 Link Here
51
INSTALLS_SHLIB=	yes
46
INSTALLS_SHLIB=	yes
52
LDCONFIG_DIRS=	%%PREFIX%%/lib/dylan/%%DYLANVER%%/%%DYLANARCH%%
47
LDCONFIG_DIRS=	%%PREFIX%%/lib/dylan/%%DYLANVER%%/%%DYLANARCH%%
53
USE_GMAKE=	yes
48
USE_GMAKE=	yes
54
USE_LIBTOOL_VER=13
49
USE_LIBTOOL_VER=15
55
MAKEFILE=	GNUmakefile
50
MAKEFILE=	GNUmakefile
56
ALL_TARGET=	default
51
ALL_TARGET=	default
57
WANT_GNOME=	yes
58
52
59
MAN1=		d2c.1 dybug.1 make-dylan-app.1 melange.1 mindy.1 mindycomp.1 \
53
MAN1=		d2c.1 dybug.1 make-dylan-app.1 melange.1 mindy.1 mindycomp.1 \
60
		mindyexec.1 parsergen.1 gobject-tool.1
54
		mindyexec.1 parsergen.1 gobject-tool.1
Lines 64-85 Link Here
64
.include <bsd.port.pre.mk>
58
.include <bsd.port.pre.mk>
65
59
66
USE_REINPLACE=	yes
60
USE_REINPLACE=	yes
67
.if ${HAVE_GNOME:Mgtk12}!=""
68
USE_GNOME+=	gtk12
69
PLIST_SUB+=	GTK_ONLY=""
70
CONFIGURE_ARGS+=--enable-duim=gtk
71
.else
72
PLIST_SUB+=	GTK_ONLY="@comment "
61
PLIST_SUB+=	GTK_ONLY="@comment "
73
CONFIGURE_ARGS+=--without-gtk
62
CONFIGURE_ARGS+=--without-gtk
74
.endif
75
63
76
post-extract:
64
post-extract:
77
	$(GUNZIP_CMD) -c $(DISTDIR)/d2c-$(PORTVERSION)-FreeBSD.gz >$(WRKDIR)/d2c
65
	$(GUNZIP_CMD) -c $(DISTDIR)/d2c-$(PORTVERSION)-FreeBSD.gz >$(WRKDIR)/d2c
78
	${CHMOD} ugo+x $(WRKDIR)/d2c
66
	${CHMOD} ugo+x $(WRKDIR)/d2c
79
67
80
pre-patch:
68
pre-patch:
81
	@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|' \
69
#	@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|' \
82
		${WRKSRC}/platform/gtk+/gtk+/gtk.lid
70
#		${WRKSRC}/platform/gtk+/gtk+/gtk.lid
83
	${REINPLACE_CMD} -e 's|libtool$$|${LIBTOOL_LIBEXECDIR}/libtool|' \
71
	${REINPLACE_CMD} -e 's|libtool$$|${LIBTOOL_LIBEXECDIR}/libtool|' \
84
		${WRKSRC}/d2c/compiler/platforms.descr
72
		${WRKSRC}/d2c/compiler/platforms.descr
85
73
(-)distinfo (-4 / +4 lines)
Lines 1-4 Link Here
1
MD5 (gwydion-dylan-2.3.11.tar.gz) = 0be55ce757671efb415ec6616b6277c4
1
MD5 (gwydion-dylan-2.4.0.tar.gz) = 7ed180bf4ef11e8e8da3bd78b45477a8
2
SIZE (gwydion-dylan-2.3.11.tar.gz) = 3091501
2
SIZE (gwydion-dylan-2.4.0.tar.gz) = 3623651
3
MD5 (d2c-2.3.11-FreeBSD.gz) = edbb43719eda90efa7c77be3b6c77605
3
MD5 (d2c-2.4.0-FreeBSD.gz) = 4d020eb0bb84516adfdfc05f2475bffb
4
SIZE (d2c-2.3.11-FreeBSD.gz) = 2005636
4
SIZE (d2c-2.4.0-FreeBSD.gz) = 3060993
(-)files/patch-platforms.descr (+15 lines)
Added Link Here
1
--- d2c/compiler/platforms.descr	Sun Oct 17 21:17:02 2004
2
+++ d2c/compiler/platforms.descr	Sat Mar 19 05:32:42 2005
3
@@ -622,7 +622,11 @@
4
 // FreeBSD 3.x and above
5
 platform-name:			x86-freebsd-elf-gcc
6
 inherit-from:			gcc freebsd x86
7
-link-shared-library-command:    $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
8
+link-shared-library-command:    $(LIBTOOL) --tag=CC --mode=link gcc -o %s %s -rpath %s
9
+link-executable-command: 	$(LIBTOOL) --tag=CC --mode=link gcc -o %s %s %s
10
+link-shared-executable-command: $(LIBTOOL) --tag=CC --mode=link gcc -o %s %s %s
11
+compile-c-for-shared-command:   $(LIBTOOL) --tag=CC --mode=compile gcc $(CCFLAGS) -c %s -o %s
12
+
13
 
14
 platform-name:			x86-freebsd-elf-gcc32
15
 inherit-from:			freebsd x86-gcc32

Return to bug 79614