head	1.34;
access;
symbols
	RELEASE_8_3_0:1.28
	RELEASE_9_0_0:1.26
	RELEASE_7_4_0:1.24
	RELEASE_8_2_0:1.24
	RELEASE_6_EOL:1.24
	RELEASE_8_1_0:1.24
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.20
	RELEASE_7_2_0:1.15
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.10
	RELEASE_6_3_0:1.10
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.34
date	2013.03.10.13.46.48;	author svnexp;	state Exp;
branches;
next	1.33;

1.33
date	2013.03.10.13.02.12;	author svnexp;	state Exp;
branches;
next	1.32;

1.32
date	2012.11.21.21.13.34;	author svnexp;	state Exp;
branches;
next	1.31;

1.31
date	2012.11.17.05.58.53;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.11.04.01.50.45;	author olgeni;	state Exp;
branches;
next	1.29;

1.29
date	2012.10.07.14.04.09;	author olgeni;	state Exp;
branches;
next	1.28;

1.28
date	2011.12.31.21.20.51;	author olgeni;	state Exp;
branches;
next	1.27;

1.27
date	2011.12.22.14.38.03;	author olgeni;	state Exp;
branches;
next	1.26;

1.26
date	2011.11.21.18.33.09;	author crees;	state Exp;
branches;
next	1.25;

1.25
date	2011.10.24.03.33.09;	author stas;	state Exp;
branches;
next	1.24;

1.24
date	2010.06.03.03.15.17;	author stas;	state Exp;
branches;
next	1.23;

1.23
date	2010.04.19.10.43.28;	author ale;	state Exp;
branches;
next	1.22;

1.22
date	2010.03.19.07.54.04;	author stas;	state Exp;
branches;
next	1.21;

1.21
date	2009.12.15.05.50.12;	author stas;	state Exp;
branches;
next	1.20;

1.20
date	2009.09.26.20.31.30;	author stas;	state Exp;
branches;
next	1.19;

1.19
date	2009.08.27.18.31.06;	author amdmi3;	state Exp;
branches;
next	1.18;

1.18
date	2009.08.11.11.47.00;	author stas;	state Exp;
branches;
next	1.17;

1.17
date	2009.07.03.10.52.56;	author stas;	state Exp;
branches;
next	1.16;

1.16
date	2009.05.13.09.45.53;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2009.04.07.12.28.17;	author stas;	state Exp;
branches;
next	1.14;

1.14
date	2008.08.07.17.58.38;	author stas;	state Exp;
branches;
next	1.13;

1.13
date	2008.07.27.21.29.17;	author stas;	state Exp;
branches;
next	1.12;

1.12
date	2008.05.14.17.48.54;	author stas;	state Exp;
branches;
next	1.11;

1.11
date	2008.04.08.07.19.56;	author stas;	state Exp;
branches;
next	1.10;

1.10
date	2007.09.10.16.25.01;	author stas;	state Exp;
branches;
next	1.9;

1.9
date	2007.09.09.18.51.45;	author stas;	state Exp;
branches;
next	1.8;

1.8
date	2007.07.23.09.36.06;	author rafan;	state Exp;
branches;
next	1.7;

1.7
date	2007.03.27.21.24.50;	author stas;	state Exp;
branches;
next	1.6;

1.6
date	2007.03.24.14.03.03;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2007.02.22.00.44.59;	author stas;	state Exp;
branches;
next	1.4;

1.4
date	2007.02.22.00.37.00;	author stas;	state Exp;
branches;
next	1.3;

1.3
date	2006.11.08.15.47.00;	author stas;	state Exp;
branches;
next	1.2;

1.2
date	2006.11.01.23.59.39;	author stas;	state Exp;
branches;
next	1.1;

1.1
date	2006.09.13.15.24.13;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.34
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313773
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Stanislav Sedov <ssedov@@mbsd.msk.ru>
# $FreeBSD: head/lang/newlisp/Makefile 313773 2013-03-09 23:01:45Z olgeni $

PORTNAME=	newlisp
PORTVERSION=	10.4.5
PORTREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://www.newlisp.org/downloads/
EXTRACT_SUFX=	.tgz

MAINTAINER=	olgeni@@FreeBSD.org
COMMENT=	LISP like scripting language

LIB_DEPENDS=	ffi:${PORTSDIR}/devel/libffi

CONFLICTS=	newlisp-devel-[0-9]*

HAS_CONFIGURE=	yes
ALL_TARGET=	default

MAN1=		newlisp.1 newlispdoc.1

REINPLACE_ARGS=	-i ""

MODULES=	canvas cgi crypto ftp getopts infix json macro odbc pop3 \
		postscript smtp smtpx stat unix xmlrpc-client zlib

DOCS=		CHANGES CodePatterns.html ExpressionEvaluation.html \
		MemoryManagement.html newLISP-${PORTVERSION}-Release.html \
		manual_frame.html newLISPdoc.html \
		newlisp_index.html newlisp_manual.html \

OPTIONS_DEFINE=	GMP GSL MYSQL PGSQL SQLITE GUISERV
GSL_DESC=	GSL (GNU Scientific Library)
GUISERV_DESC=	Install GUI server (in Java)

.include <bsd.port.options.mk>

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"
CFLAGS+=	-DNEWLISP64
.endif

.if ${PORT_OPTIONS:MGMP}
LIB_DEPENDS+=	gmp:${PORTSDIR}/math/gmp
MODULES+=	gmp
PLIST_SUB+=	GMP=""
.else
PLIST_SUB+=	GMP="@@comment "
.endif

.if ${PORT_OPTIONS:MGSL}
LIB_DEPENDS+=	gsl:${PORTSDIR}/math/gsl
MODULES+=	gsl
PLIST_SUB+=	GSL=""
.else
PLIST_SUB+=	GSL="@@comment "
.endif

.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL=	yes
MODULES+=	mysql
PLIST_SUB+=	MYSQL=""
.else
PLIST_SUB+=	MYSQL="@@comment "
.endif

.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL=	yes
MODULES+=	postgres
PLIST_SUB+=	PGSQL=""
.else
PLIST_SUB+=	PGSQL="@@comment "
.endif

.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE=	3
MODULES+=	sqlite3
PLIST_SUB+=	SQLITE=""
.else
PLIST_SUB+=	SQLITE="@@comment "
.endif

.if ${PORT_OPTIONS:MGUISERV}
PLIST_SUB+=	GUISERV=""
.else
PLIST_SUB+=	GUISERV="@@comment "
.endif

post-patch:
	@@${REINPLACE_CMD} -E -e "s,install -m 644, \$${BSD_INSTALL_DATA},g" \
		-e "s,install -m 755, \$${BSD_INSTALL_SCRIPT},g" \
		-e "s,^(datadir=).*,\1${PREFIX}/share,g" \
		-e "s,^(bindir=).*,\1${PREFIX}/bin,g" \
		${WRKSRC}/Makefile

	@@${REINPLACE_CMD} -E \
		-e "s,/usr/(local/)?bin/newlisp,${PREFIX}/bin/newlisp,g" \
		-e "s,/usr/(local/)?share/newlisp,${DATADIR},g" \
		-e "s,/usr/(local/)?lib/newlisp.so,${PREFIX}/lib/newlisp.so,g"\
		-e "s,/usr/bin,${PREFIX}/bin,g" \
		-e "s,/usr/local/bin/vi,/usr/bin/vi,g" \
		${WRKSRC}/examples/* \
		${WRKSRC}/doc/* \
		${WRKSRC}/guiserver/*.lsp \
		${WRKSRC}/modules/* \
		${WRKSRC}/newlisp.c

	@@${REINPLACE_CMD} -E -e \
		"s,/usr/local/mysql/lib/(libmysqlclient.)dylib,${LOCALBASE}/lib/mysql/\1so.${MYSQL${MYSQL_VER}_LIBVER}," \
		${WRKSRC}/modules/mysql.lsp
	@@${REINPLACE_CMD} -E -e \
		"s,/usr/local/lib/(libsqlite)3.so,${LOCALBASE}/lib/\1${_SQLITE_VER}.so," \
		${WRKSRC}/modules/sqlite3.lsp
	@@${REINPLACE_CMD} -E -e \
		"s,/usr/local/lib/libgmp.so,${LOCALBASE}/lib/libgmp.so," \
		${WRKSRC}/modules/gmp.lsp
	@@${REINPLACE_CMD} -E -e \
		"s,/usr/local/lib/libgsl.so,${LOCALBASE}/lib/libgsl.so," \
		${WRKSRC}/modules/gsl.lsp
	@@${REINPLACE_CMD} -E -e \
		"s,/usr/local/lib/libpq.so.5.1,${LOCALBASE}/lib/libpq.so.5," \
		${WRKSRC}/modules/postgres.lsp
	@@${REINPLACE_CMD} -E -e \
		"s,/usr/share/newlisp,${LOCALBASE}/share/newlisp," \
		${WRKSRC}/newlisp.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/newlisp ${PREFIX}/bin/
	${INSTALL_SCRIPT} ${WRKSRC}/util/newlispdoc ${PREFIX}/bin/

	${MKDIR} ${DATADIR}/util/
	${INSTALL_DATA} ${WRKSRC}/util/syntax.cgi \
			${WRKSRC}/util/newlisp.vim \
			${WRKSRC}/util/link.lsp \
			${WRKSRC}/util/httpd-conf.lsp \
			${WRKSRC}/util/newlisp.jsf \
			${WRKSRC}/util/nanorc \
			${DATADIR}/util/

	${MKDIR} ${DATADIR}/modules/
	${INSTALL_DATA} ${MODULES:S,^,${WRKSRC}/modules/,:S,$,.lsp,} \
		${DATADIR}/modules/

	${INSTALL_MAN} ${WRKSRC}/doc/newlisp.1 ${PREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/newlispdoc.1 ${PREFIX}/man/man1/

.if ${PORT_OPTIONS:MGUISERV}
	${MKDIR} ${DATADIR}/guiserver
	@@(cd ${WRKSRC}/guiserver/ && ${COPYTREE_SHARE} \*.lsp \
		${DATADIR}/guiserver/ \
		"! -name guiserver.lsp ! -name newlisp-edit.lsp")
	${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.jar ${DATADIR}/
	${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.lsp ${DATADIR}/
	${INSTALL_SCRIPT} ${WRKSRC}/guiserver/newlisp-edit.lsp \
		${PREFIX}/bin/newlisp-edit
.endif

.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}/
	${MKDIR} ${EXAMPLESDIR}/

	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/

	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/

.if ${PORT_OPTIONS:MGUISERV}
	${MKDIR} ${DOCSDIR}/guiserver
	${INSTALL_DATA} ${WRKSRC}/guiserver/index.html \
			${WRKSRC}/guiserver/guiserver.lsp.html \
			${DOCSDIR}/guiserver/
.endif
.endif

.include <bsd.port.mk>
@


1.33
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313758
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/newlisp/Makefile 313758 2013-03-09 21:28:49Z olgeni $
d6 1
d16 2
@


1.32
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307625
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307625 | olgeni | 2012-11-21 21:09:54 +0000 (Wed, 21 Nov 2012) | 4 lines
## SVN ##
## SVN ## Upgrade to version 10.4.5.
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/newlisp/Makefile 307625 2012-11-21 21:09:54Z olgeni $
d13 2
d30 2
a31 1
OPTIONS_DEFINE=	GMP MYSQL PGSQL SQLITE GUISERV
d36 3
d44 1
a44 1
LIB_DEPENDS+=	gmp.10:${PORTSDIR}/math/gmp
d51 8
d118 3
@


1.31
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/newlisp/Makefile 306949 2012-11-04 01:50:45Z olgeni $
d5 1
a5 1
PORTVERSION=	10.4.4
@


1.30
log
@SVN rev 306949 on 2012-11-04 01:50:45Z by olgeni

Upgrade to version 10.4.4.

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.29
log
@SVN rev 305478 on 2012-10-07 14:04:09Z by olgeni

Convert to OptionsNG.
@
text
@d5 1
a5 2
PORTVERSION=	10.3.3
PORTREVISION=	1
@


1.28
log
@- Remove version specific MySQL options. [1]
- Also remove extra $MBSDlabs$ CVS tag while I'm here.
- Bump PORTREVISION.

PR:		ports/163728 [1]
Submitted by:	dougb
@
text
@d1 1
a1 4
# New ports collection makefile for:	newlisp
# Date created:		2006-09-13
# Whom:			Stanislav Sedov <ssedov@@mbsd.msk.ru>
#
a2 1
#
d17 1
a17 1
MAN1=	newlisp.1 newlispdoc.1
d29 2
a30 5
OPTIONS=	GMP	"Enable GMP math library support" off \
		MYSQL	"Build with mysql support" off \
		PGSQL	"Build with postgresql support" off \
		SQLITE	"Build with sqlite support" off \
		GUISERV "Install GUI server (in JAVA)" off
d38 1
a38 1
.if defined(WITH_GMP)
d46 1
a46 1
.if defined(WITH_MYSQL)
d54 2
a55 2
.if defined(WITH_PGSQL)
USE_PGSQL=yes
d62 2
a63 2
.if defined(WITH_SQLITE)
USE_SQLITE=3
d70 1
a70 1
.if defined(WITH_GUISERV)
d131 1
a131 1
.if defined(WITH_GUISERV)
d142 1
a142 1
.if !defined(NOPORTDOCS)
d150 1
a150 1
. if defined(WITH_GUISERV)
d155 1
a155 1
. endif
@


1.27
log
@- Take maintainership from ports@@
- Fix pkg-plist when GUISERV is defined
- Add LOCALBASE to share/newlisp (fixes GUI server)
@
text
@a4 1
# $MBSDlabs$
d10 1
a10 1
PORTREVISION=	0
d34 1
a34 2
		MYSQL5	"Build with mysql 5.0.x support" off \
		MYSQL51	"Build with mysql 5.1.x support" off \
d53 2
a54 3
.if defined(WITH_MYSQL5)
USE_MYSQL=yes
WITH_MYSQL_VER=	50
d56 1
a56 1
PLIST_SUB+=	MYSQL5=""
d58 1
a58 10
PLIST_SUB+=	MYSQL5="@@comment "
.endif

.if defined(WITH_MYSQL51)
USE_MYSQL=yes
WITH_MYSQL_VER=	51
MODULES+=	mysql
PLIST_SUB+=	MYSQL51=""
.else
PLIST_SUB+=	MYSQL51="@@comment "
@


1.26
log
@- Update to 10.3.3
- Add pgsql OPTION
- Use bsd.port.options.mk

PR:		ports/162711
Submitted by:	stas
Feature safe:	yes
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d126 3
@


1.25
log
@- Return my ports back to the pool.  I was unable to make any fixes to
  my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
@
text
@d10 1
a10 1
PORTVERSION=	10.2.8
a13 1
#MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
d26 2
a27 2
MODULES=	cgi crypto ftp infix odbc pop3 postscript smtp stat unix \
		xmlrpc-client zlib
d37 1
d41 1
a41 1
.include <bsd.port.pre.mk>
d73 8
d123 3
d136 2
d174 1
a174 1
.include <bsd.port.post.mk>
@


1.24
log
@- Update to 10.2.8.
@
text
@d17 1
a17 1
MAINTAINER=	stas@@FreeBSD.org
@


1.23
log
@Switch to use newer GMP version.

PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
@
text
@d10 2
a11 2
PORTVERSION=	10.2.1
PORTREVISION=	1
d31 1
a31 1
		MemoryManagement.html newLISP-${PORTVERSION:R}-Release.html \
@


1.22
log
@- Update to 10.2.1.
@
text
@d11 1
a11 1
PORTREVISION=	0
d48 1
a48 1
LIB_DEPENDS+=	gmp.8:${PORTSDIR}/math/libgmp4
@


1.21
log
@- Update to 10.1.7.
@
text
@d10 1
a10 1
PORTVERSION=	10.1.7
@


1.20
log
@- Update to 10.1.5.

Feature safe:	yes
@
text
@d10 1
a10 1
PORTVERSION=	10.1.5
@


1.19
log
@- Fix some more SF URLs, including ones in PATCH_SITES and comments (for consistency)

Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
PORTVERSION=	10.1.1
@


1.18
log
@- Update to 10.1.1.
- Change the master site URL until SF problems are resolved.
@
text
@d14 1
a14 2
#MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
#MASTER_SITE_SUBDIR=${PORTNAME}
@


1.17
log
@- Update to 10.1.0.
@
text
@d10 1
a10 1
PORTVERSION=	10.1.0
d13 3
a15 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@


1.16
log
@Chase libgmp and bump PORTREVISION.
@
text
@d10 1
a10 1
PORTVERSION=	10.0.2
d43 2
a44 2
.if defined(WITH_MYSQL4) && defined(WITH_MYSQL5)
IGNORE=	you should select only one MySQL version
d58 1
a58 1
MODULES+=	mysql5
d67 1
a67 1
MODULES+=	mysql51
d108 1
a108 4
		${WRKSRC}/modules/mysql5.lsp
	@@${REINPLACE_CMD} -E -e \
		"s,/usr/local/mysql/lib/(libmysqlclient.)dylib,${LOCALBASE}/lib/mysql/\1so.${MYSQL${MYSQL_VER}_LIBVER}," \
		${WRKSRC}/modules/mysql51.lsp
@


1.15
log
@- Update to 10.0.2.
@
text
@d48 1
a48 1
LIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
@


1.14
log
@- Update to 9.4.5.
@
text
@d10 1
a10 1
PORTVERSION=	9.4.5
@


1.13
log
@- Update to 9.4.3.
@
text
@d10 1
a10 1
PORTVERSION=	9.4.3
@


1.12
log
@- Update to 9.3.0.
@
text
@d10 1
a10 1
PORTVERSION=	9.3.0
d31 1
a31 1
		MemoryManagement.html newLISP-9.3-Release.html \
a35 1
		MYSQL4	"Build with MySQL 4.1.x support" off \
a54 9
.if defined(WITH_MYSQL4)
USE_MYSQL=yes
WITH_MYSQL_VER=	41
MODULES+=	mysql
PLIST_SUB+=	MYSQL4=""
.else
PLIST_SUB+=	MYSQL4="@@comment "
.endif

a106 3
		"s,/usr/lib/(libmysqlclient.so.)14,${LOCALBASE}/lib/mysql/\1${MYSQL${MYSQL_VER}_LIBVER}," \
		${WRKSRC}/modules/mysql.lsp
	@@${REINPLACE_CMD} -E -e \
@


1.11
log
@- Fix install with GuiServ.

PR:		ports/122554
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net>
@
text
@d10 1
a10 1
PORTVERSION=	9.2.0
d27 1
a27 1
MODULES=	cgi ftp infix odbc pop3 postscript smtp stat unix \
d30 2
a31 1
DOCS=		CHANGES CodePatterns.html newLISP-9.2-Release.html \
d36 3
a38 2
		MYSQL4	"Build with mysql4 support" off \
		MYSQL5	"Build with mysql5 support" off \
d74 9
d123 3
@


1.10
log
@- Use INSTALL_SCRIPT instead of INSTALL_PROGRAM to avoid stripping.
@
text
@d143 1
a143 1
	${INSTALL_PROGRAM} ${WRKSRC}/guiserver/newlisp-edit.lsp \
@


1.9
log
@- Update to 9.2.0.
@
text
@a21 1
STRIP=		#empty
d120 1
a120 1
	${INSTALL_PROGRAM} ${WRKSRC}/util/newlispdoc ${PREFIX}/bin/
@


1.8
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d10 1
a10 1
PORTVERSION=	9.1.1
d22 1
d24 1
a24 2
TK_VER=	8.5
MAN1=	newlisp.1
d31 3
a33 3
PORTDOCS=	CHANGES CodePatterns.html MemoryManagement.html \
		keywords.txt manual_frame.html newLISPdoc.html \
		newlisp_index.html newlisp_manual.html
d35 1
a35 2
OPTIONS=	TK	"Build with TK support" off \
		GMP	"Enable GMP math library support" off \
d38 2
a39 1
		SQLITE	"Build with sqlite support" off
a46 8
.if defined(WITH_TK)
RUN_DEPENDS+=	wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${TK_VER:S,.,,g}
MAN1+=		newlisp-tk.1
PLIST_SUB+=	TK=""
.else
PLIST_SUB+=	TK="@@comment "
.endif

d81 6
d95 3
a97 4
		-e "s,/usr/bin/newlisp,${PREFIX}/bin/newlisp,g" \
		-e "s,/usr/share/newlisp,${DATADIR},g" \
		-e "s,/usr/lib/newlisp.so,${PREFIX}/lib/newlisp.so,g" \
		-e "s,exec wish,exec wish${TK_VER}," \
d99 1
d102 1
d104 1
a104 3
		${WRKSRC}/init.lsp.example \
		${WRKSRC}/newlisp.c \
		${WRKSRC}/newlisp-tk/newlisp-tk.tcl
d121 1
d123 10
a132 2
	${MKDIR} ${DATADIR}/
	${INSTALL_DATA} ${MODULES:S,^,${WRKSRC}/modules/,:S,$,.lsp,} ${DATADIR}/
d135 1
d137 9
a145 7
.if defined(WITH_TK)
	${INSTALL_SCRIPT} ${WRKSRC}/newlisp-tk/newlisp-tk.tcl \
		${PREFIX}/bin/newlisp-tk
	${MKDIR} ${DATADIR}/newlisp-tk/
	@@(cd ${WRKSRC}/newlisp-tk && \
		${COPYTREE_SHARE} \* ${DATADIR}/newlisp-tk/)
	${INSTALL_MAN} ${WRKSRC}/doc/newlisp-tk.1 ${PREFIX}/man/man1/
a152 1
	${INSTALL_DATA} ${WRKSRC}/init.lsp.example ${EXAMPLESDIR}/
d154 8
a161 1
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
@


1.7
log
@- Update to 9.1.1.
@
text
@a92 1
		-e "s,^(mandir=).*,\1${PREFIX}/man,g" \
@


1.6
log
@- COPYTREE_* are now part of bsd.port.mk

PR:		ports/100996
Submitted by:	stass
@
text
@d10 2
a11 2
PORTVERSION=	9.1.0
PORTREVISION=	1
@


1.5
log
@- Remove redundant substitutions
- Bump PORTREVISION.
@
text
@a27 7
# XXX: exists untill it will be committed to bsd.port.mk
COPYTREE_SHARE=	${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
		2>&1) && \
		${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
		${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \
		${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' --

@


1.4
log
@- Update to 9.1.0
- Use Tk 8.5.
@
text
@d11 1
a11 1
PORTREVISION=	0
a103 5
	@@${REINPLACE_CMD} -E -e "s,exec wish,exec wish${TK_VER}," \
		-e "s,/usr/share/newlisp,${DATADIR},g" \
		-e "s,/usr/bin,${PREFIX}/bin,g" \
		${WRKSRC}/newlisp-tk/newlisp-tk.tcl

d109 1
@


1.3
log
@- Handle dependencies properly
- Correct the default modules location path [1]
- Correct example programs headers (shell path)
- Install docs/examples into the separate directory

PR:		ports/105253 [1]
Reported by:	clemens fischer <ino-news@@spotteswoode.dnsalias.org> [1]
@
text
@d10 2
a11 2
PORTVERSION=	9.0.0
PORTREVISION=	1
d23 1
a23 1
TK_VER=	8.4
d38 1
a38 1
PORTDOCS=	CHANGES CodePatterns.html MemoryManagement.html arrays \
@


1.2
log
@- Update to 9.0.0
- Change my email
@
text
@d11 1
a19 2
RUN_DEPENDS=	wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${TK_VER:S,.,,g}

d24 23
a46 1
MAN1=	newlisp.1 newlisp-tk.1
d50 46
d109 52
@


1.1
log
@The newLISP is a scripting language for developing web applications and
programs in general and in the domains of artificial intelligence (AI) and
statistics.

Author: Lutz Mueller
WWW:    http://www.newlisp.org/

PR:		ports/103226
Submitted by:	Stanislav Sedov <ssedov@@mbsd.msk.ru>
@
text
@d10 1
a10 1
PORTVERSION=	8.9.0
d16 1
a16 1
MAINTAINER=	ssedov@@mbsd.msk.ru
@

