summaryrefslogtreecommitdiff
path: root/lang/munger/Makefile
blob: e49fc8f57a56171ac2485883cb2b8cab7a605ea0 (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
PORTNAME=	munger
PORTVERSION=	5.12
CATEGORIES=	lang
MASTER_SITES=	http://www.mammothcheese.ca/

MAINTAINER=	jimmy@mammothcheese.ca
COMMENT=	Static lisp interpreter with text processing abilities
WWW=		http://www.mammothcheese.ca/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libtre.so:textproc/libtre

USES=		ncurses
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
		INSTALL_DATA="${INSTALL_DATA}" INSTALL_MAN="${INSTALL_MAN}" \
		MKDIR="${MKDIR}"

DATADIR=	${PREFIX}/share/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE=	SQLITE
OPTIONS_DEFAULT=	SQLITE

SQLITE_USES=	sqlite:3
SQLITE_MAKE_ARGS=	-DWITH_SQL

post-patch:
	@${REINPLACE_CMD} -e 's|lcurses|lncurses|' ${WRKSRC}/Makefile

.include <bsd.port.mk>