freebsd-ports/devel/gauche-readline/Makefile
Shaun Amott a1ba134e3f Unbreak port by fixing do-install.
PR:		ports/104494
Submitted by:	Frank J. Laszlo <laszlof@vonostingroup.com>
Approved by:	portmgr (marcus),
		Erik Greenwald <erik@smluc.org> (maintainer)
2006-10-18 23:56:28 +00:00

37 lines
1,003 B
Makefile

# New ports collection makefile for: Gauche Readline
# Date created: 15 Jan 2004
# Whom: Erik Greenwald <erik@smluc.org>
#
# $FreeBSD$
#
PORTNAME= readline
PORTVERSION= 0.1
PORTREVISION= 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
GAUCHE_LIBDIR= share/gauche/site/lib
GAUCHE_FILES= readline/history.scm readline/keymap.scm readline/term-util.scm
PLIST_SUB+= GAUCHE_LIBDIR=${GAUCHE_LIBDIR}
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>