aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-01-13 07:10:14 +0800
committeredwin <edwin@FreeBSD.org>2005-01-13 07:10:14 +0800
commit4ef84e3bbf8fcee6edde830df92c771e0bd6dda8 (patch)
tree5af8ff69feaac5043db12d0c13b472f81dabac5a /lang
parentdcf9c6f4acd3641e66c43c3d752c7f48d7410863 (diff)
downloadfreebsd-ports-gnome-4ef84e3bbf8fcee6edde830df92c771e0bd6dda8.tar.gz
freebsd-ports-gnome-4ef84e3bbf8fcee6edde830df92c771e0bd6dda8.tar.zst
freebsd-ports-gnome-4ef84e3bbf8fcee6edde830df92c771e0bd6dda8.zip
update: lang/munger - new port revision to eliminate use of DEPENDS_TARGET
Update to 4.44 PR: ports/75075 Submitted by: jimmy@jamesbailie.com
Diffstat (limited to 'lang')
-rw-r--r--lang/munger/Makefile51
-rw-r--r--lang/munger/distinfo4
-rw-r--r--lang/munger/pkg-descr7
-rw-r--r--lang/munger/pkg-message7
-rw-r--r--lang/munger/pkg-plist42
5 files changed, 71 insertions, 40 deletions
diff --git a/lang/munger/Makefile b/lang/munger/Makefile
index 7e0022a8c2d7..c54c7869968f 100644
--- a/lang/munger/Makefile
+++ b/lang/munger/Makefile
@@ -1,32 +1,59 @@
-# New ports collection makefile for: munger
-# Date created: Thu, 03 Jul 2003 20:05:06 EDT
-# Whom: James Bailie <jimmy@jamesbailie.com>
+# New ports collection makefile for: munger
+# Date created: Thu, 03 Jul 2003 20:05:06 EDT
+# Whom: James Bailie <jimmy@jamesbailie.com>
#
# $FreeBSD$
#
PORTNAME= munger
-PORTVERSION= 4.38
-PORTREVISION= 1
+PORTVERSION= 4.44
CATEGORIES= lang
-MASTER_SITES= http://jamesbailie.com/
+MASTER_SITES= http://www.jamesbailie.com/
MAINTAINER= jimmy@jamesbailie.com
-COMMENT= Static LISP interpreter with text processing abilities
+COMMENT= Static lisp interpreter with text processing abilities
+
+PLIST_SUB= MUNGER_VERSION=${PORTVERSION}
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
+MAN1= munger.1 httpf.1 xml2munger.1
+MANCOMPRESSED= yes
+
+.if !defined(PACKAGE_BUILDING)
+IS_INTERACTIVE= yes
+OPTIONS= FCGI "include FastCGI interface" on \
+ SQL "include SQLite interface" on \
+ TERM "include character-I/O functions" on
+.else
+WITH_SQL= yes
+WITH_FCGI= yes
+WITH_TERM= yes
+.endif
+
+# Prevents SQLite from obnoxiously installing Tcl/Tk merely to build its docs.
+
+NOPORTDOCS= yes
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_SQL)
-LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
+LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+MAKE_ARGS+= -DWITH_SQL
.endif
.if defined(WITH_FCGI)
LIB_DEPENDS+= fcgi.0:${PORTSDIR}/www/fcgi
+MAKE_ARGS+= -DWITH_FCGI
.endif
-MAN1= munger.1 httpf.1 xml2munger.1
-MANCOMPRESSED= yes
+.if defined(WITH_TERM)
+MAKE_ARGS+= -DWITH_TERM
+.endif
-PLIST_SUB= VERSION="${PORTVERSION}"
+post-build:
+.if defined(WITH_FCGI)
+ @${CAT} ${PKGMESSAGE}
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/lang/munger/distinfo b/lang/munger/distinfo
index f6b695ed7c07..86e6740a78b6 100644
--- a/lang/munger/distinfo
+++ b/lang/munger/distinfo
@@ -1,2 +1,2 @@
-MD5 (munger-4.38.tar.gz) = f32dd47fc5f622125842d0f80224b02f
-SIZE (munger-4.38.tar.gz) = 168540
+MD5 (munger-4.44.tar.gz) = 71f2eb32a7969d4da2aea79702cec131
+SIZE (munger-4.44.tar.gz) = 169294
diff --git a/lang/munger/pkg-descr b/lang/munger/pkg-descr
index fd02bc829e42..7d1f50aadfb6 100644
--- a/lang/munger/pkg-descr
+++ b/lang/munger/pkg-descr
@@ -9,8 +9,5 @@ Munger. Basic facilities for doing line-oriented I/O and cursor-addressing
are provided. Munger also has interfaces to the FastCGI devkit
(http://www.fastcgi.com), and the SQLite library (http://www.sqlite.org).
-WWW: http://jamesbailie.com/munger.html
-
---
-James Bailie <jimmy@jamesbailie.com>
-http://jamesbailie.com
+WWW: http://www.jamesbailie.com/munger.html
+Author: James Bailie <jimmy@jamesbailie.com>
diff --git a/lang/munger/pkg-message b/lang/munger/pkg-message
new file mode 100644
index 000000000000..ace053b543c8
--- /dev/null
+++ b/lang/munger/pkg-message
@@ -0,0 +1,7 @@
+******************************************************************
+* *
+* To use the FastCGI interface with Apache one must also *
+* install and configfure mod_fastcgi from *
+* ${PORTSDIR}/www/mod_fastcgi *
+* *
+******************************************************************
diff --git a/lang/munger/pkg-plist b/lang/munger/pkg-plist
index a5806cb3eb22..7d4ca5ec618b 100644
--- a/lang/munger/pkg-plist
+++ b/lang/munger/pkg-plist
@@ -1,24 +1,24 @@
bin/munger
bin/httpf
bin/xml2munger
-share/munger-%%VERSION%%/mbox2munger.munger
-share/munger-%%VERSION%%/mime2munger.munger
-share/munger-%%VERSION%%/google.munger
-share/munger-%%VERSION%%/google.template
-share/munger-%%VERSION%%/ed.munger
-share/munger-%%VERSION%%/xml2lisp.munger
-share/munger-%%VERSION%%/xml2lisp2.munger
-share/munger-%%VERSION%%/xmlquery.munger
-share/munger-%%VERSION%%/filter.munger
-share/munger-%%VERSION%%/tags.munger
-share/munger-%%VERSION%%/fcgi.munger
-share/munger-%%VERSION%%/client.fcgi
-share/munger-%%VERSION%%/err.munger
-share/munger-%%VERSION%%/options.munger
-share/munger-%%VERSION%%/fmt.munger
-share/munger-%%VERSION%%/cat.munger
-share/munger-%%VERSION%%/grep.munger
-share/munger-%%VERSION%%/library.munger
-share/munger-%%VERSION%%/transform.munger
-share/munger-%%VERSION%%/view.munger
-@dirrm share/munger-%%VERSION%%
+share/munger-%%MUNGER_VERSION%%/mbox2munger.munger
+share/munger-%%MUNGER_VERSION%%/mime2munger.munger
+share/munger-%%MUNGER_VERSION%%/google.munger
+share/munger-%%MUNGER_VERSION%%/google.template
+share/munger-%%MUNGER_VERSION%%/ed.munger
+share/munger-%%MUNGER_VERSION%%/xml2lisp.munger
+share/munger-%%MUNGER_VERSION%%/xml2lisp2.munger
+share/munger-%%MUNGER_VERSION%%/xmlquery.munger
+share/munger-%%MUNGER_VERSION%%/filter.munger
+share/munger-%%MUNGER_VERSION%%/tags.munger
+share/munger-%%MUNGER_VERSION%%/fcgi.munger
+share/munger-%%MUNGER_VERSION%%/client.fcgi
+share/munger-%%MUNGER_VERSION%%/err.munger
+share/munger-%%MUNGER_VERSION%%/options.munger
+share/munger-%%MUNGER_VERSION%%/fmt.munger
+share/munger-%%MUNGER_VERSION%%/cat.munger
+share/munger-%%MUNGER_VERSION%%/grep.munger
+share/munger-%%MUNGER_VERSION%%/library.munger
+share/munger-%%MUNGER_VERSION%%/transform.munger
+share/munger-%%MUNGER_VERSION%%/view.munger
+@dirrm share/munger-%%MUNGER_VERSION%%