1997-11-09 15:13:16 +01:00
|
|
|
# New ports collection makefile for: guile
|
|
|
|
# Date created: 2 November 1997
|
|
|
|
# Whom: jseger@FreeBSD.org
|
1995-08-29 19:45:10 +02:00
|
|
|
#
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1995-08-29 19:45:10 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= guile
|
2004-11-20 19:20:06 +01:00
|
|
|
PORTVERSION= 1.6.5
|
2003-08-28 02:01:09 +02:00
|
|
|
CATEGORIES= lang scheme
|
2002-06-19 09:42:17 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= guile
|
1997-11-10 10:40:35 +01:00
|
|
|
|
2003-02-05 07:10:54 +01:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-02-19 06:29:57 +01:00
|
|
|
COMMENT= GNU Ubiquitous Intelligent Language for Extension
|
1995-08-29 19:45:10 +02:00
|
|
|
|
2004-06-04 19:29:38 +02:00
|
|
|
USE_LIBLTDL= yes
|
2002-06-19 10:18:10 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-05-02 05:18:31 +02:00
|
|
|
USE_GMAKE= yes
|
2004-07-27 04:52:28 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-05-02 05:18:31 +02:00
|
|
|
USE_GNOME= gnometarget
|
2002-06-19 21:58:11 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-08-17 05:51:54 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-11-29 03:37:14 +01:00
|
|
|
|
2003-05-02 05:18:31 +02:00
|
|
|
GUILE_VER= 1.6
|
|
|
|
PLIST_SUB= GUILE_VER=${GUILE_VER}
|
1995-08-29 19:45:10 +02:00
|
|
|
|
2002-08-05 22:31:04 +02:00
|
|
|
REINPLACE_FILES= libguile/gc.c libguile/mallocs.c \
|
|
|
|
libguile/ports.c libguile/smob.c
|
|
|
|
|
2003-08-17 05:51:54 +02:00
|
|
|
INFO= goops guile-tut guile r5rs
|
|
|
|
|
2003-10-20 07:32:13 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "ia64"
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ia64
|
|
|
|
.endif
|
|
|
|
|
2003-11-23 19:13:58 +01:00
|
|
|
.if ${ARCH} != "ia64" && ${ARCH} != "amd64"
|
|
|
|
CONFIGURE_ARGS+=--with-threads
|
|
|
|
PLIST_SUB+= THREADS:=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= THREADS:="@comment "
|
|
|
|
.endif
|
|
|
|
|
2002-08-05 22:31:04 +02:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES}
|
2003-05-02 07:19:27 +02:00
|
|
|
@${FIND} ${WRKSRC}/doc -name "*.info*" -delete
|
2002-08-05 22:31:04 +02:00
|
|
|
|
2002-06-19 09:42:17 +02:00
|
|
|
post-patch:
|
2003-05-02 05:18:31 +02:00
|
|
|
@cd ${WRKSRC} ; \
|
2002-08-05 22:31:04 +02:00
|
|
|
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
|
2003-02-05 07:10:54 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
|
2003-05-02 07:26:07 +02:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/libguile/load.c
|
2003-11-22 19:53:20 +01:00
|
|
|
@${REINPLACE_CMD} -e 's^sparc-\*-\*^sparc-*-*|sparc64-*-*^' ${WRKSRC}/configure
|
2002-06-19 09:42:17 +02:00
|
|
|
|
2003-10-20 07:32:13 +02:00
|
|
|
.include <bsd.port.post.mk>
|