2008-01-23 16:22:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2008/01/23 21:22:27 merdely Exp $
|
2001-05-05 21:27:52 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= small, Lisp-like interpreted language
|
2000-08-18 15:20:10 -04:00
|
|
|
|
2001-06-20 07:29:18 -04:00
|
|
|
DISTNAME= Klone359
|
2008-01-23 16:22:27 -05:00
|
|
|
PKGNAME= klone-2.1ap0
|
2000-08-18 15:20:10 -04:00
|
|
|
CATEGORIES= lang
|
2002-10-27 09:12:47 -05:00
|
|
|
|
2001-10-15 10:41:10 -04:00
|
|
|
MASTER_SITES= http://koala.ilog.fr/ftp/pub/Klone/
|
2000-08-18 15:20:10 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-02-24 08:20:41 -05:00
|
|
|
WANTLIB= c m
|
2000-08-18 15:20:10 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/Klone
|
|
|
|
|
|
|
|
post-extract:
|
2008-01-23 16:22:27 -05:00
|
|
|
@sed -e "s#!!PREFIX!!#${PREFIX}#; \
|
|
|
|
s#!!CFLAGS!!#${CFLAGS}#; \
|
|
|
|
s#!!CC!!#${CC}#" \
|
2000-08-18 15:20:10 -04:00
|
|
|
${FILESDIR}/openbsd > ${WRKSRC}/Configs/openbsd
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cp -f ${WRKSRC}/Configs/openbsd ${WRKSRC}/Config.openbsd
|
|
|
|
@echo "openbsd" > ${WRKSRC}/.dir
|
|
|
|
@rm -f makefile
|
|
|
|
|
2002-10-27 09:12:47 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2000-08-18 15:20:10 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/klone/scripts
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/klone
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/klone ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/kl/* ${PREFIX}/lib/klone
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/lib/klone/scripts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/klone
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|