blob: 19a3ca6da9ff2e30f7c84d48cbcc32cd9d99166d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# 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.99
CATEGORIES= lang
MASTER_SITES= http://www.jamesbailie.com/
MAINTAINER= jimmy@jamesbailie.com
COMMENT= Static lisp interpreter with text processing abilities
DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
MAN1= munger.1
MANCOMPRESSED= yes
OPTIONS= FCGI "include FastCGI interface" on \
SQL "include SQLite interface" on \
TERM "include character-I/O functions" on \
BN "include bignum support" off \
DKNS "install Dickens text editor" off
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SQL)
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
MAKE_ARGS+= -DWITH_SQL
.endif
.if !defined(WITHOUT_FCGI)
LIB_DEPENDS+= fcgi.0:${PORTSDIR}/www/fcgi
MAKE_ARGS+= -DWITH_FCGI
.endif
.if !defined(WITHOUT_TERM)
MAKE_ARGS+= -DWITH_TERM
.endif
.if defined(WITH_BN)
MAKE_ARGS+= -DWITH_BN
.endif
.if defined(WITH_DKNS)
MAKE_ARGS+= -DWITH_DKNS
MAN1+= dkns.1
PLIST_SUB+= DKNS_BIN="bin/dkns"
.else
PLIST_SUB+= DKNS_BIN="${DATADIR:S,^${PREFIX}/,,}/dkns.munger"
.endif
post-build:
.if !defined(WITHOUT_FCGI)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>
|