1998-07-12 21:58:13 +00:00
|
|
|
# New ports collection makefile for: Dylan
|
|
|
|
# Date created: 23 Jan 1998
|
|
|
|
# Whom: housel@acm.org
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1998-07-12 21:58:13 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= dylan
|
2005-04-08 21:57:27 +00:00
|
|
|
PORTVERSION= 2.4.0
|
2006-04-24 12:09:17 +00:00
|
|
|
PORTREVISION= 1
|
1998-07-12 21:58:13 +00:00
|
|
|
CATEGORIES= lang
|
2005-04-08 21:57:27 +00:00
|
|
|
MASTER_SITES= http://www.gwydiondylan.org/downloads/src/tar/ \
|
|
|
|
http://www.gwydiondylan.org/downloads/binaries/FreeBSD/x86/ \
|
|
|
|
ftp://ftp.gwydiondylan.org/downloads/src/tar/ \
|
|
|
|
ftp://ftp.gwydiondylan.org/downloads/binaries/FreeBSD/x86/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/lang/gwydion/src/tar/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/lang/gwydion/binaries/FreeBSD/x86/ \
|
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/src/tar/ \
|
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/binaries/FreeBSD/x86/
|
2002-03-13 09:13:51 +00:00
|
|
|
DISTNAME= gwydion-dylan-${PORTVERSION}
|
2000-12-02 15:32:58 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} d2c-${PORTVERSION}-FreeBSD.gz
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1998-07-12 21:58:13 +00:00
|
|
|
|
2001-02-05 15:04:13 +00:00
|
|
|
MAINTAINER= housel@acm.org
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= CMU Gwydion project interpreter and compiler for the Dylan language
|
1998-07-12 21:58:13 +00:00
|
|
|
|
2003-05-12 08:39:19 +00:00
|
|
|
LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc
|
2000-12-02 15:32:58 +00:00
|
|
|
|
2002-11-04 22:57:37 +00:00
|
|
|
USE_PERL5= yes
|
2000-12-02 15:32:58 +00:00
|
|
|
USE_GMAKE= yes
|
2005-04-08 21:57:27 +00:00
|
|
|
CONFIGURE_ARGS= --srcdir=${WRKSRC} --with-gc-prefix=${PREFIX}
|
|
|
|
CONFIGURE_ENV= D2C="${WRKDIR}/d2c -p${WRKSRC}/d2c/compiler/platforms.descr"
|
2000-12-02 15:32:58 +00:00
|
|
|
|
2003-09-26 07:48:25 +00:00
|
|
|
GCCVER!= gcc -dumpversion
|
|
|
|
PLIST_SUB= DYLANVER="${PORTVERSION}"
|
|
|
|
.if ${GCCVER:M3.3*}!=""
|
|
|
|
PLIST_SUB+= DYLANARCH="x86-freebsd-elf-gcc33"
|
|
|
|
.elif ${GCCVER:M3.2*}!=""
|
|
|
|
PLIST_SUB+= DYLANARCH="x86-freebsd-elf-gcc32"
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= DYLANARCH="x86-freebsd-elf-gcc"
|
|
|
|
.endif
|
1998-07-12 21:58:13 +00:00
|
|
|
|
2002-10-28 22:27:00 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2000-12-02 15:32:58 +00:00
|
|
|
LDCONFIG_DIRS= %%PREFIX%%/lib/dylan/%%DYLANVER%%/%%DYLANARCH%%
|
1998-07-12 21:58:13 +00:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-07-12 21:58:13 +00:00
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
ALL_TARGET= default
|
|
|
|
|
2002-10-28 22:27:00 +00:00
|
|
|
MAN1= d2c.1 dybug.1 make-dylan-app.1 melange.1 mindy.1 mindycomp.1 \
|
2004-04-15 08:19:31 +00:00
|
|
|
mindyexec.1 parsergen.1 gobject-tool.1
|
1999-04-21 06:52:10 +00:00
|
|
|
MAN5= platforms.descr.5
|
|
|
|
MAN7= dylan.7 gwydion.7
|
|
|
|
|
2003-05-12 08:39:19 +00:00
|
|
|
CONFIGURE_ARGS+=--without-gtk
|
2002-03-13 09:13:51 +00:00
|
|
|
|
1998-07-12 21:58:13 +00:00
|
|
|
post-extract:
|
2005-04-08 21:57:27 +00:00
|
|
|
${GUNZIP_CMD} -c ${DISTDIR}/d2c-${PORTVERSION}-FreeBSD.gz >${WRKDIR}/d2c
|
|
|
|
${CHMOD} ugo+x ${WRKDIR}/d2c
|
1998-07-12 21:58:13 +00:00
|
|
|
|
2008-01-29 22:33:33 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-03-11 20:44:44 +00:00
|
|
|
.if ${OSVERSION} >= 700000
|
2008-01-29 22:33:33 +00:00
|
|
|
BROKEN= does not install
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|