freebsd-ports/lang/elk/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: elk
# Date created: 08 March 1995
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 08:35:40 +02:00
# $FreeBSD$
#
PORTNAME= elk
PORTVERSION= 3.99.6
PORTREVISION= 2
CATEGORIES= lang scheme
MASTER_SITES= http://sam.zoy.org/elk/
1995-04-15 07:44:50 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= An embeddable Scheme interpreter
1995-04-15 07:44:50 +02:00
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
elf.0:${PORTSDIR}/devel/libelf
USE_BZIP2= yes
USE_MOTIF= yes
USE_LIBTOOL_VER=15
LIBTOOLFLAGS= # none
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
MAN1= elk.1
CPPFLAGS= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
2005-01-31 11:29:17 +01:00
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS= -O0
2005-01-31 11:29:17 +01:00
.endif
post-install:
${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
2005-01-31 11:29:17 +01:00
.include <bsd.port.post.mk>