2005-01-12 23:10:14 +00:00
|
|
|
# New ports collection makefile for: munger
|
|
|
|
# Date created: Thu, 03 Jul 2003 20:05:06 EDT
|
|
|
|
# Whom: James Bailie <jimmy@jamesbailie.com>
|
2004-12-08 08:38:06 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= munger
|
2005-01-12 23:10:14 +00:00
|
|
|
PORTVERSION= 4.44
|
2004-12-08 08:38:06 +00:00
|
|
|
CATEGORIES= lang
|
2005-01-12 23:10:14 +00:00
|
|
|
MASTER_SITES= http://www.jamesbailie.com/
|
2004-12-08 08:38:06 +00:00
|
|
|
|
|
|
|
MAINTAINER= jimmy@jamesbailie.com
|
2005-01-12 23:10:14 +00:00
|
|
|
COMMENT= Static lisp interpreter with text processing abilities
|
|
|
|
|
|
|
|
PLIST_SUB= MUNGER_VERSION=${PORTVERSION}
|
2004-12-08 08:38:06 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2
|
|
|
|
|
2005-01-12 23:10:14 +00:00
|
|
|
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>
|
|
|
|
|
2004-12-08 08:38:06 +00:00
|
|
|
.if defined(WITH_SQL)
|
2005-01-12 23:10:14 +00:00
|
|
|
LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
|
|
|
|
MAKE_ARGS+= -DWITH_SQL
|
2004-12-08 08:38:06 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_FCGI)
|
|
|
|
LIB_DEPENDS+= fcgi.0:${PORTSDIR}/www/fcgi
|
2005-01-12 23:10:14 +00:00
|
|
|
MAKE_ARGS+= -DWITH_FCGI
|
2004-12-08 08:38:06 +00:00
|
|
|
.endif
|
|
|
|
|
2005-01-12 23:10:14 +00:00
|
|
|
.if defined(WITH_TERM)
|
|
|
|
MAKE_ARGS+= -DWITH_TERM
|
|
|
|
.endif
|
2004-12-08 08:38:06 +00:00
|
|
|
|
2005-01-12 23:10:14 +00:00
|
|
|
post-build:
|
|
|
|
.if defined(WITH_FCGI)
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.endif
|
2004-12-08 08:38:06 +00:00
|
|
|
|
2005-01-12 23:10:14 +00:00
|
|
|
.include <bsd.port.post.mk>
|