mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
492588f99b
PR: 99045 Submitted by: Ports fury
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: elk
|
|
# Date created: 08 March 1995
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= elk
|
|
PORTVERSION= 3.99.7
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://sam.zoy.org/elk/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An embeddable Scheme interpreter
|
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
|
|
elf.0:${PORTSDIR}/devel/libelf
|
|
|
|
USE_BZIP2= yes
|
|
USE_MOTIF= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
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 \
|
|
-I${X11BASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "amd64"
|
|
CFLAGS= -O0
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc examples||g' ${WRKSRC}/Makefile.in
|
|
|
|
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
|
|
|
|
.include <bsd.port.post.mk>
|