mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
e2f2a0f2c1
GUILE, GNU's Ubiquitous Intelligent Language for Extension, is a library that implements the Scheme language plus various convenient facilities. It's designed so that you can link it into an application or utility to make it extensible. Our plan is to link this library into all GNU programs that call for extensibility. WWW: http://www.gnu.org/software/guile/ - Repo-Copied from lang/guile in preperation of 3.X.X
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# Created by: 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.8
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= GNU
|
|
PKGNAMESUFFIX= 1
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= GNU Ubiquitous Intelligent Language for Extension
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
|
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
|
libgmp.so:math/gmp
|
|
|
|
USES= autoreconf gmake libtool makeinfo ncurses pathfix
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFLICTS_INSTALL= guile2-[0-9]* guile-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -fwrapv
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
PORTSCOUT= limit:^1\.
|
|
|
|
PLIST_SUB= GUILE_VER=${PORTVERSION:R}
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
NLS_USES_OFF= gettext-tools
|
|
|
|
post-extract:
|
|
@${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|$$(libdir)|$$(libdir)data|g' ${WRKSRC}/Makefile.am
|
|
@${TOUCH} ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|