freebsd-ports/lang/guile/Makefile

43 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: guile
# Date created: 2 November 1997
# Whom: jseger@FreeBSD.org
#
1999-08-25 08:35:40 +02:00
# $FreeBSD$
#
PORTNAME= guile
2002-06-19 09:42:17 +02:00
PORTVERSION= 1.4.1
PORTREVISION= 4
CATEGORIES= lang
2002-06-19 09:42:17 +02:00
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= guile
1997-11-10 10:40:35 +01:00
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNU Ubiquitous Intelligent Language for Extension
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
INSTALLS_SHLIB= yes
1999-12-01 06:21:30 +01:00
LIBTOOLFILES= configure guile-readline/configure
CONFIGURE_ARGS= --with-threads
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
1999-11-29 03:37:14 +01:00
PLIST_SUB= GUILE_VER=${PORTVERSION}
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:
cd ${WRKSRC} ; \
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
s|%%LOCALBASE|${LOCALBASE}|g' ${WRKSRC}/libguile/load.c
2002-06-19 09:42:17 +02:00
.include <bsd.port.mk>