mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
84406d35bc
PR: ports/83330 Submitted by: maintainer
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# 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.57
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://www.jamesbailie.com/
|
|
|
|
MAINTAINER= jimmy@jamesbailie.com
|
|
COMMENT= Static lisp interpreter with text processing abilities
|
|
|
|
RUN_DEPENDS= nc:${PORTSDIR}/net/netcat
|
|
|
|
USE_REINPLACE= yes
|
|
MAN1= munger.1
|
|
MANCOMPRESSED= yes
|
|
PLIST_SUB= MUNGER_VERSION=${PORTVERSION}
|
|
|
|
OPTIONS= FCGI "include FastCGI interface" on \
|
|
SQL "include SQLite interface" on \
|
|
TERM "include character-I/O functions" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_SQL)
|
|
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
|
|
|
|
.if defined(WITH_TERM)
|
|
MAKE_ARGS+= -DWITH_TERM
|
|
.endif
|
|
|
|
post-build:
|
|
.if defined(WITH_FCGI)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|