blob: ec888fd5a940b78bd301a43c12d71d60cc57d18a (
plain)
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
|
# Created by: Erik Greenwald <erik@smluc.org>
# $FreeBSD$
PORTNAME= readline
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= devel scheme
MASTER_SITES= http://practical-scheme.net/vault/
PKGNAMEPREFIX= gauche-
EXTRACT_SUFX= .tgz
DIST_SUBDIR= gauche
MAINTAINER= erik@bz.bzflag.bz
COMMENT= A pure gauche/scheme implementation of the Readline library
RUN_DEPENDS= gosh:${PORTSDIR}/lang/gauche
BUILD_DEPENDS= gauche-config:${PORTSDIR}/lang/gauche
GAUCHE_LIBDIR= share/gauche/site/lib
GAUCHE_FILES= readline/history.scm readline/keymap.scm readline/term-util.scm
PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR}
NO_STAGE= yes
do-install:
.if !exists(${PREFIX}/${GAUCHE_LIBDIR}/readline)
${MKDIR} ${PREFIX}/${GAUCHE_LIBDIR}/readline
.endif
${INSTALL_DATA} ${WRKSRC}/readline.scm ${PREFIX}/${GAUCHE_LIBDIR}
. for f in ${GAUCHE_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${GAUCHE_LIBDIR}/readline
. endfor
.include <bsd.port.mk>
|