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
|
2002-06-19 09:42:17 +02:00
|
|
|
PORTVERSION= 1.4.1
|
2003-04-04 06:55:14 +02:00
|
|
|
PORTREVISION= 4
|
1996-11-12 03:19:40 +01:00
|
|
|
CATEGORIES= lang
|
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
|
|
|
|
2002-08-04 21:15:05 +02:00
|
|
|
LIB_DEPENDS= ltdl.1:${PORTSDIR}/devel/libtool
|
|
|
|
|
2002-06-19 10:18:10 +02:00
|
|
|
USE_REINPLACE= yes
|
1999-11-29 03:37:14 +01:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-12-01 06:21:30 +01:00
|
|
|
LIBTOOLFILES= configure guile-readline/configure
|
2000-04-24 21:15:51 +02:00
|
|
|
CONFIGURE_ARGS= --with-threads
|
2002-06-19 21:58:11 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-11-29 03:37:14 +01:00
|
|
|
|
2000-08-04 03:04:03 +02:00
|
|
|
PLIST_SUB= GUILE_VER=${PORTVERSION}
|
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
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES}
|
|
|
|
|
2002-06-19 09:42:17 +02:00
|
|
|
post-patch:
|
2002-08-05 22:31:04 +02:00
|
|
|
cd ${WRKSRC} ; \
|
|
|
|
${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 ; \
|
|
|
|
s|%%LOCALBASE|${LOCALBASE}|g' ${WRKSRC}/libguile/load.c
|
2002-06-19 09:42:17 +02:00
|
|
|
|
1995-08-29 19:45:10 +02:00
|
|
|
.include <bsd.port.mk>
|