2000-01-14 11:34:17 -05:00
|
|
|
# New ports collection makefile for: elk
|
|
|
|
# Date created: 08 March 1995
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1995-03-09 05:16:20 -05:00
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1995-04-24 07:29:30 -04:00
|
|
|
#
|
1995-03-09 05:16:20 -05:00
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= elk
|
2003-12-07 11:15:12 -05:00
|
|
|
PORTVERSION= 3.99.6
|
2004-02-04 00:21:48 -05:00
|
|
|
PORTREVISION= 2
|
2003-08-27 20:09:58 -04:00
|
|
|
CATEGORIES= lang scheme
|
2003-09-24 11:03:39 -04:00
|
|
|
MASTER_SITES= http://sam.zoy.org/projects/elk/
|
1995-04-15 01:44:50 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 14:00:52 -05:00
|
|
|
COMMENT= An embeddable Scheme interpreter
|
1995-04-15 01:44:50 -04:00
|
|
|
|
2003-09-24 11:03:39 -04:00
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
|
|
|
|
elf.0:${PORTSDIR}/devel/libelf
|
1995-03-09 05:16:20 -05:00
|
|
|
|
2003-09-24 11:03:39 -04:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_MOTIF= yes
|
2004-03-14 01:17:56 -05:00
|
|
|
USE_LIBTOOL_VER=13
|
2003-09-24 11:03:39 -04:00
|
|
|
LIBTOOLFLAGS= # none
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
INSTALLS_SHLIB= yes
|
1995-03-09 05:16:20 -05:00
|
|
|
|
2003-09-24 11:03:39 -04:00
|
|
|
MAN1= elk.1
|
|
|
|
|
2003-12-07 11:15:12 -05:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include
|
2003-09-24 11:03:39 -04:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
1995-03-09 05:16:20 -05:00
|
|
|
|
1995-04-24 07:29:30 -04:00
|
|
|
post-install:
|
2003-09-24 11:03:39 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${MANPREFIX}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
|
|
|
|
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
|
|
|
|
@${CHOWN} -R ${SHAREMODE}:${SHAREGRP} ${EXAMPLESDIR}
|
|
|
|
.endif
|
1995-03-09 05:16:20 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|