diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-03-13 09:13:51 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-03-13 09:13:51 +0000 |
commit | 8deb0bc704f49067d135afb788ca42f68aa50b67 (patch) | |
tree | 35d9e772aba1ff36352088881a760b3f94b07de1 /lang/dylan/Makefile | |
parent | a849031229808959a15ace406eeae0793e8acc71 (diff) | |
download | ports-8deb0bc704f49067d135afb788ca42f68aa50b67.tar.gz ports-8deb0bc704f49067d135afb788ca42f68aa50b67.zip |
Notes
Diffstat (limited to 'lang/dylan/Makefile')
-rw-r--r-- | lang/dylan/Makefile | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/lang/dylan/Makefile b/lang/dylan/Makefile index c738454ba478..270b56aae797 100644 --- a/lang/dylan/Makefile +++ b/lang/dylan/Makefile @@ -6,7 +6,7 @@ # PORTNAME= dylan -PORTVERSION= 2.3.4 +PORTVERSION= 2.3.8 CATEGORIES= lang MASTER_SITES= ftp://berlin.ccc.de/pub/gd/src/ \ ftp://berlin.ccc.de/pub/gd/FreeBSD/ \ @@ -17,8 +17,10 @@ MASTER_SITES= ftp://berlin.ccc.de/pub/gd/src/ \ ftp://ftp.infodrom.north.de/pub/unix/language/dylan/gwydion/src/ \ ftp://ftp.infodrom.north.de/pub/unix/language/dylan/gwydion/FreeBSD/ \ ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/src/ \ - ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/FreeBSD/ -DISTNAME= gd-${PORTVERSION} + ftp://ftp.fu-berlin.de/pub/unix/languages/dylan/FreeBSD/ \ + ftp://ftp.kddlabs.co.jp/lang/dylan/gwydion/src/ \ + ftp://ftp.kddlabs.co.jp/lang/dylan/gwydion/FreeBSD/ +DISTNAME= gwydion-dylan-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} d2c-${PORTVERSION}-FreeBSD.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -26,10 +28,8 @@ MAINTAINER= housel@acm.org RUN_DEPENDS= libtool:${PORTSDIR}/devel/libtool -WRKSRC= ${WRKDIR}/gd-${PORTVERSION} - USE_GMAKE= yes -CONFIGURE_ARGS= --srcdir=$(WRKSRC) +CONFIGURE_ARGS= --srcdir=$(WRKSRC) CONFIGURE_ENV= D2C="$(WRKDIR)/d2c -p$(WRKSRC)/d2c/compiler/platforms.descr" PLIST_SUB= DYLANVER="${PORTVERSION}" DYLANARCH="x86-freebsd-elf-gcc" @@ -40,13 +40,30 @@ USE_GMAKE= yes USE_LIBTOOL= yes MAKEFILE= GNUmakefile ALL_TARGET= default +WANT_GTK= yes MAN1= d2c.1 make-dylan-app.1 melange.1 mindy.1 mindycomp.1 MAN5= platforms.descr.5 MAN7= dylan.7 gwydion.7 +.include <bsd.port.pre.mk> + +.if defined(HAVE_GTK) +USE_GTK= yes +PLIST_SUB+= GTK_ONLY="" +.else +PLIST_SUB+= GTK_ONLY="@comment " +.endif + post-extract: $(GUNZIP_CMD) -c $(DISTDIR)/d2c-$(PORTVERSION)-FreeBSD.gz >$(WRKDIR)/d2c ${CHMOD} ugo+x $(WRKDIR)/d2c -.include <bsd.port.mk> +pre-patch: + @${PERL} -pi -e 's|gtk-config|${GTK_CONFIG}|' \ + ${WRKSRC}/platform/gtk+/gtk+/gtk.lid + +patch-libtool: + @${DO_NADA} + +.include <bsd.port.post.mk> |