aboutsummaryrefslogtreecommitdiff
path: root/devel/gauche-readline/Makefile
blob: 19ee95b2a590af675fa8d234d209a0dd006f7817 (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
# New ports collection makefile for:	Gauche Readline
# Date created:		15 Jan 2004
# Whom:			Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#

PORTNAME=	readline
PORTVERSION=	0.1
CATEGORIES=	devel scheme
MASTER_SITES=	http://www.shiro.dreamhost.com/scheme/vault/
PKGNAMEPREFIX=	gauche-
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	gauche

MAINTAINER=	erik@smluc.org
COMMENT=	A pure gauche/scheme implementation of the Readline library

RUN_DEPENDS=	gosh:${PORTSDIR}/lang/gauche
BUILD_DEPENDS=	gauche-config:${PORTSDIR}/lang/gauche

.include <bsd.port.pre.mk>
GAUCHE_CONFIG=	${LOCALBASE}/bin/gauche-config
GAUCHE_LIBDIR=	${GAUCHE_CONFIG} --sitelibdir
PLIST_SUB+=	GAUCHE_LIBDIR=${GAUCHE_LIBDIR:S/${LOCALBASE}\///}

do-install:
	@${CP} -r ${WRKSRC}/readline* ${GAUCHE_LIBDIR}

.include <bsd.port.post.mk>