blob: 5baa2e20959d181fc2902160f6b7ce982efc4148 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# 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.8
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.10:${PORTSDIR}/math/gmp
USE_AUTOTOOLS= autoconf libltdl
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
GUILE_VER= 1.8
PLIST_SUB= GUILE_VER=${GUILE_VER}
MAN1= guile.1
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|2.63|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
.include <bsd.port.post.mk>
|