diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-24 15:03:39 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-24 15:03:39 +0000 |
commit | 0179d073c1f60e17b9da3b5ac8727088b9b6e740 (patch) | |
tree | d6d4c00f0b6af7d2964c4401c3a212e831d57f7d /lang/elk/Makefile | |
parent | 780db7e410069978c531f3bcdb64d5d7ac042473 (diff) | |
download | ports-0179d073c1f60e17b9da3b5ac8727088b9b6e740.tar.gz ports-0179d073c1f60e17b9da3b5ac8727088b9b6e740.zip |
Notes
Diffstat (limited to 'lang/elk/Makefile')
-rw-r--r-- | lang/elk/Makefile | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/lang/elk/Makefile b/lang/elk/Makefile index f5a112c11e09..245b66421db7 100644 --- a/lang/elk/Makefile +++ b/lang/elk/Makefile @@ -6,38 +6,38 @@ # PORTNAME= elk -PORTVERSION= 3.0.3 +PORTVERSION= 3.99.4 CATEGORIES= lang scheme -MASTER_SITES= http://www-rn.informatik.uni-bremen.de/software/elk/dist/ -DISTNAME= elk-3.0 +MASTER_SITES= http://sam.zoy.org/projects/elk/ MAINTAINER= ports@FreeBSD.org COMMENT= An embeddable Scheme interpreter -USE_XLIB= yes -ALL_TARGET= default -MAN1= elk.1 +LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \ + elf.0:${PORTSDIR}/devel/libelf -post-patch: - @${CP} ${WRKSRC}/config/untested/386pc-freebsd2.1-cc \ - ${WRKSRC}/config/system - @${CP} ${WRKSRC}/config/sites/386pc-freebsd2.1 \ - ${WRKSRC}/config/site +USE_BZIP2= yes +USE_MOTIF= yes +USE_REINPLACE= yes +USE_LIBTOOL= yes +LIBTOOLFLAGS= # none +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +INSTALLS_SHLIB= yes -pre-install: - @${MKDIR} ${PREFIX}/share/elk +MAN1= elk.1 + +CPPFLAGS= -I${LOCALBASE}/include/libelf -I${LOCALBASE}/include \ + -DHAVE_SYS_TIMES_H +LDFLAGS= -L${LOCALBASE}/lib -# -# we install the scheme binary as ${PREFIX}/bin/elk -# to avoid a clash with mit-scheme. -# post-install: - ${INSTALL_PROGRAM} ${PREFIX}/share/elk/bin/scheme ${PREFIX}/bin/elk - @${MKDIR} ${PREFIX}/include/elk - ${CP} -R ${PREFIX}/share/elk/include/* ${PREFIX}/include/elk -.for dir in bin include - @${RM} -rf ${PREFIX}/share/elk/${dir} -.endfor - @${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${PREFIX}/man/man1 + ${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.mk> |