diff --git a/lang/newlisp/Makefile b/lang/newlisp/Makefile index acc046b06fa1..8bbf350434c3 100644 --- a/lang/newlisp/Makefile +++ b/lang/newlisp/Makefile @@ -1,75 +1,75 @@ PORTNAME= newlisp PORTVERSION= 10.7.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/ MAINTAINER= olgeni@FreeBSD.org COMMENT= LISP like scripting language WWW= http://www.newlisp.org/ LICENSE= GPLv3 LIB_DEPENDS= libffi.so:devel/libffi CONFLICTS= newlisp-devel USES= readline tar:tgz OPTIONS_SUB= yes HAS_CONFIGURE= yes ALL_TARGET= default REINPLACE_ARGS= -i "" MODULES= canvas cgi crypto ftp getopts infix odbc plot pop3 \ postscript smtp smtpx stat unix xmlrpc-client zlib DOCS= ANDROID.txt Android.html CHANGES COPYING CREDITS \ CodePatterns.html ExpressionEvaluation.html INSTALL \ LOCALIZATION License.html MemoryManagement.html \ manual_frame.html newLISP-${PORTVERSION}-Release.html \ newLISPdoc.html newlisp-man.txt newlisp_index.html \ newlisp_manual.html newlispdoc-man.txt OPTIONS_DEFINE= DOCS EXAMPLES GSL MYSQL PGSQL SQLITE GSL_DESC= GSL (GNU Scientific Library) .include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${ARCH} == "amd64" CFLAGS+= -DNEWLISP64 .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:math/gsl MODULES+= gsl .endif .if ${PORT_OPTIONS:MMYSQL} USES+= mysql MODULES+= mysql .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql MODULES+= postgres .endif .if ${PORT_OPTIONS:MSQLITE} USES+= sqlite MODULES+= sqlite3 .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/lang/newlisp/files/patch-makefile__original__install b/lang/newlisp/files/patch-makefile__original__install index 3c6d4f9bf7f7..073ce73234a4 100644 --- a/lang/newlisp/files/patch-makefile__original__install +++ b/lang/newlisp/files/patch-makefile__original__install @@ -1,24 +1,20 @@ --- makefile_original_install.orig 2019-05-12 16:44:17 UTC +++ makefile_original_install -@@ -6,10 +6,10 @@ VERSION=10.7.5 +@@ -6,7 +6,7 @@ VERSION=10.7.5 # run in an environment, where NEWLISPDIR is predefined, # else NEWLISPDIR will be defined during newlisp startup # as /usr/share/newlisp which is hardcoded in newlisp.c -prefix=/usr/local +prefix=$(DESTDIR)$(PREFIX) datadir=$(prefix)/share bindir=$(prefix)/bin --mandir=$(prefix)/share/man -+mandir=$(prefix)/man - - # this is the standard install in /usr/local/bin and /usr/local/share - # which as to be done as 'root' with supersuser permissions + mandir=$(prefix)/share/man @@ -29,7 +29,7 @@ install: -install -d $(datadir)/doc/newlisp -rm $(bindir)/newlisp -install -m 755 newlisp $(bindir)/newlisp-$(VERSION) - -ln -s $(bindir)/newlisp-$(VERSION) $(bindir)/newlisp + -ln -s newlisp-$(VERSION) $(bindir)/newlisp -install -m 755 util/newlispdoc $(bindir)/newlispdoc -install -m 644 util/syntax.cgi $(datadir)/newlisp/util/syntax.cgi -install -m 644 util/newlisp.vim $(datadir)/newlisp/util/newlisp.vim diff --git a/lang/newlisp/pkg-plist b/lang/newlisp/pkg-plist index 7ae86720b4f5..41f10281deaf 100644 --- a/lang/newlisp/pkg-plist +++ b/lang/newlisp/pkg-plist @@ -1,73 +1,73 @@ bin/newlisp bin/newlisp-10.7.5 bin/newlispdoc -man/man1/newlisp.1.gz -man/man1/newlispdoc.1.gz %%PORTDOCS%%%%DOCSDIR%%/ANDROID.txt %%PORTDOCS%%%%DOCSDIR%%/Android.html %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/CREDITS %%PORTDOCS%%%%DOCSDIR%%/CodePatterns.html %%PORTDOCS%%%%DOCSDIR%%/ExpressionEvaluation.html %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/LOCALIZATION %%PORTDOCS%%%%DOCSDIR%%/License.html %%PORTDOCS%%%%DOCSDIR%%/MemoryManagement.html %%PORTDOCS%%%%DOCSDIR%%/manual_frame.html %%PORTDOCS%%%%DOCSDIR%%/newLISP-10.7.5-Release.html %%PORTDOCS%%%%DOCSDIR%%/newLISPdoc.html %%PORTDOCS%%%%DOCSDIR%%/newlisp-man.txt %%PORTDOCS%%%%DOCSDIR%%/newlisp_index.html %%PORTDOCS%%%%DOCSDIR%%/newlisp_manual.html %%PORTDOCS%%%%DOCSDIR%%/newlispdoc-man.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/async %%PORTEXAMPLES%%%%EXAMPLESDIR%%/callback %%PORTEXAMPLES%%%%EXAMPLESDIR%%/client %%PORTEXAMPLES%%%%EXAMPLESDIR%%/env.cgi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/finger %%PORTEXAMPLES%%%%EXAMPLESDIR%%/form.cgi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/form.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/httpd-conf.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.cgi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/newLISP-Excel-Import.xls %%PORTEXAMPLES%%%%EXAMPLESDIR%%/newlisp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/observer %%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl-demo-ffi-lsp.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl-demo-ffi.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl-demo.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/prodcons.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/query %%PORTEXAMPLES%%%%EXAMPLESDIR%%/scan %%PORTEXAMPLES%%%%EXAMPLESDIR%%/server %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sniff %%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcltk.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp-client.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp-server.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload.cgi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/win32demo.lsp %%PORTEXAMPLES%%%%EXAMPLESDIR%%/xmlrpc.cgi +share/man/man1/newlisp.1.gz +share/man/man1/newlispdoc.1.gz %%DATADIR%%/modules/canvas.lsp %%DATADIR%%/modules/cgi.lsp %%DATADIR%%/modules/crypto.lsp %%DATADIR%%/modules/ftp.lsp %%DATADIR%%/modules/getopts.lsp %%GSL%%%%DATADIR%%/modules/gsl.lsp %%DATADIR%%/modules/infix.lsp %%MYSQL%%%%DATADIR%%/modules/mysql.lsp %%DATADIR%%/modules/odbc.lsp %%DATADIR%%/modules/plot.lsp %%DATADIR%%/modules/pop3.lsp %%PGSQL%%%%DATADIR%%/modules/postgres.lsp %%DATADIR%%/modules/postscript.lsp %%DATADIR%%/modules/smtp.lsp %%DATADIR%%/modules/smtpx.lsp %%SQLITE%%%%DATADIR%%/modules/sqlite3.lsp %%DATADIR%%/modules/stat.lsp %%DATADIR%%/modules/unix.lsp %%DATADIR%%/modules/xmlrpc-client.lsp %%DATADIR%%/modules/zlib.lsp %%DATADIR%%/util/newlisp.vim %%DATADIR%%/util/syntax.cgi