mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
771ea13f41
Tested by: exp build run (erwin)
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: guile
|
|
# Date created: 2 November 1997
|
|
# Whom: jseger@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/lang/guile/Makefile,v 1.1 2006/09/12 14:57:06 ahze Exp $
|
|
|
|
PORTNAME= guile
|
|
PORTVERSION= 1.8.5
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= guile
|
|
|
|
MAINTAINER= amatus@gnu.org
|
|
COMMENT= GNU Ubiquitous Intelligent Language for Extension
|
|
|
|
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
|
|
|
USE_AUTOTOOLS= autoconf:262 libltdl:15
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gnometarget
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
GUILE_VER= 1.8
|
|
PLIST_SUB= GUILE_VER=${GUILE_VER}
|
|
|
|
REINPLACE_FILES= libguile/smob.c libguile/filesys.c libguile/gc.c \
|
|
libguile/mallocs.c libguile/eval.c libguile/gc-malloc.c \
|
|
libguile/ports.c libguile/gc-mark.c libguile/gc_os_dep.c
|
|
|
|
INFO= goops guile-tut guile r5rs
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES}
|
|
@${FIND} ${WRKSRC}/doc -name "*.info*" -delete
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC} ; \
|
|
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
${WRKSRC}/libguile/load.c
|
|
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
|
|
|
|
.include <bsd.port.post.mk>
|