freebsd-ports/lang/gnustep-guile/Makefile

68 lines
1.5 KiB
Makefile
Raw Normal View History

# Created by: Thomas Gellekum <tg@FreeBSD.org>
1999-08-25 07:57:29 +02:00
# $FreeBSD$
PORTNAME= guile
2004-02-24 08:18:39 +01:00
PORTVERSION= 1.1.4
PORTREVISION= 7
CATEGORIES= lang gnustep
2004-01-31 13:16:18 +01:00
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
2002-12-23 23:18:39 +01:00
MASTER_SITE_SUBDIR= libs
PKGNAMEPREFIX= gnustep-
2004-03-26 21:33:19 +01:00
PKGNAMESUFFIX?= ${NOX11_SUFFIX}${PKGNAMESUFFIX2}
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= c.petrik.sosa@gmail.com
2003-02-20 19:26:42 +01:00
COMMENT= GNUstep interface to the GUILE scheme interpreter
LIB_DEPENDS+= guile.21:${PORTSDIR}/lang/guile
2010-06-04 15:49:15 +02:00
LICENSE= GPLv2
USE_GNUSTEP= yes
USE_GNUSTEP_CONFIGURE= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
GNU_CONFIGURE= yes
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
PLIST_SUB+= GUILE_VER="${GUILE_VER}"
1999-09-09 12:25:57 +02:00
2001-06-26 14:06:25 +02:00
MAN1= greg.1
2010-06-03 05:28:37 +02:00
INFO= greg
2001-06-26 14:06:25 +02:00
FIXME= Library/gg_class.m ScriptKit/Library/GuileInterpreter.m
.if defined(WITHOUT_X11)
2004-03-26 21:33:19 +01:00
NOX11_SUFFIX?= -nox11
USE_GNUSTEP_BASE= yes
PLIST_SUB+= USEX11="@comment "
CONFLICTS?= gnustep-guile-1.*
1999-09-09 12:25:57 +02:00
.else
USE_GNUSTEP_BACK= yes
PLIST_SUB+= USEX11=""
CONFLICTS?= gnustep-guile-nox11-1.*
1999-09-09 12:25:57 +02:00
.endif
2001-06-26 14:06:25 +02:00
.include <bsd.port.pre.mk>
2003-05-02 05:29:26 +02:00
GUILE_VER!= (cd ${PORTSDIR}/lang/guile && make -V GUILE_VER)
2007-02-25 12:57:40 +01:00
post-patch:
${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
${WRKSRC}/Greg/configure
.for i in ${FIXME}
${REINPLACE_CMD} -e 's|scm_catch_body_t|scm_t_catch_body|' \
-e 's|scm_catch_handler_t|scm_t_catch_handler|' \
-e 's|scm_intern|scm_c_define|' \
${WRKSRC}/${i}
.endfor
2007-02-25 12:57:40 +01:00
pre-configure:
${TOUCH} ${WRKSRC}/Greg/ac_nonexistent.h
2010-05-30 14:28:39 +02:00
post-configure:
${MV} ${WRKSRC}/Greg/Makefile ${WRKSRC}/Greg/GNUmakefile
.include <bsd.port.post.mk>