2012-12-27 18:28:35 +01:00
|
|
|
# Created by: jseger@FreeBSD.org
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
2006-10-14 10:35:50 +02:00
|
|
|
# $MCom: ports/lang/guile/Makefile,v 1.1 2006/09/12 14:57:06 ahze Exp $
|
1995-08-29 19:45:10 +02:00
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= guile
|
2011-07-31 17:06:47 +02:00
|
|
|
PORTVERSION= 1.8.8
|
2014-04-28 17:58:06 +02:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2014-04-29 23:16:02 +02:00
|
|
|
MAINTAINER= 5u623l20@gmail.com
|
2003-02-19 06:29:57 +01:00
|
|
|
COMMENT= GNU Ubiquitous Intelligent Language for Extension
|
1995-08-29 19:45:10 +02:00
|
|
|
|
2014-04-29 23:16:02 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2013-10-10 02:20:42 +02:00
|
|
|
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
|
2008-03-01 08:40:28 +01:00
|
|
|
|
2014-05-25 19:34:38 +02:00
|
|
|
CONFLICTS_INSTALL= guile2-[0-9]*
|
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf libltdl
|
2014-04-29 23:16:02 +02:00
|
|
|
USES= gmake ncurses
|
2004-07-27 04:52:28 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2011-06-01 20:13:22 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-04-28 17:58:06 +02:00
|
|
|
CFLAGS+= -fwrapv
|
|
|
|
INSTALL_TARGET= install-strip
|
1999-11-29 03:37:14 +01:00
|
|
|
|
2014-04-29 23:16:02 +02:00
|
|
|
PLIST_SUB= GUILE_VER=${PORTVERSION:R}
|
1995-08-29 19:45:10 +02:00
|
|
|
|
2008-03-07 14:25:51 +01:00
|
|
|
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
|
2002-08-05 22:31:04 +02:00
|
|
|
|
2003-08-17 05:51:54 +02:00
|
|
|
INFO= goops guile-tut guile r5rs
|
|
|
|
|
2014-04-29 23:16:02 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
|
|
|
|
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}
|
2010-12-22 21:05:49 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|2.63|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
|
2002-06-19 09:42:17 +02:00
|
|
|
|
2012-12-27 18:28:35 +01:00
|
|
|
.include <bsd.port.mk>
|