blob: bf3d7bdf6848a7df4e12e24f7bcd062fe6051c8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Ports collection makefile for: klone
# Date created: 23 Aug 2001
# Whom: Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= klone
PORTVERSION= 2.1.359
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://koala.ilog.fr/ftp/pub/Klone/
DISTNAME= Klone${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Small, Lisp-like interpreted language
WRKSRC= ${WRKDIR}/Klone
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
do-configure:
@${SED} -e 's:%%PREFIX%%:${PREFIX}:' \
-e 's:%%CC%%:${CC}:' \
-e 's:%%CFLAGS%%:${CFLAGS}:' \
${FILESDIR}/freebsd > ${WRKSRC}/Configs/freebsd
@${CP} -f ${WRKSRC}/Configs/freebsd ${WRKSRC}/Config.freebsd
@${ECHO_CMD} "freebsd" > ${WRKSRC}/.dir
@${RM} -f makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/klone ${PREFIX}/bin
@${MKDIR} ${PREFIX}/lib/klone
${INSTALL_DATA} ${WRKSRC}/kl/* ${PREFIX}/lib/klone
@${MKDIR} ${PREFIX}/lib/klone/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/lib/klone/scripts
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|