blob: 212942129d2cf5ca020c0bc3cfaf5e56819cce17 (
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
63
64
65
66
67
|
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= urweb
PORTVERSION= 20140704
CATEGORIES= lang www
MASTER_SITES= http://www.impredicative.com/ur/
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Ultimate host for embedded domain-specific languages
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= mlton:${PORTSDIR}/lang/mlton
CONFIGURE_ENV= CCARGS="-I${LOCALBASE}/include"
GNU_CONFIGURE= yes
USES= gmake libtool tar:tgz
USE_LDCONFIG= yes
USE_OPENSSL= yes
ONLY_FOR_ARCHS= i386 amd64
CFLAGS+= -pthread
OPTIONS_DEFINE= ELISP PGSQL SQLITE MYSQL
OPTIONS_DEFAULT= ELISP PGSQL
OPTIONS_EXCLUDE= NLS DOCS
ELISP_DESC= Install contributed Emacs Lisp
.include <bsd.port.options.mk>
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
.if ${PORT_OPTIONS:MELISP}
PLIST_SUB+= ELISP=""
CONFIGURE_ARGS+= with_emacs=yes
.else
PLIST_SUB+= ELISP="@comment "
CONFIGURE_ARGS+= with_emacs=no
.endif
.if ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
WANT_PGSQL= server
.else
CONFIGURE_ENV+= PGHEADER="no"
.endif
.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE= yes
.else
CONFIGURE_ENV+= SQHEADER="no"
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
.else
CONFIGURE_ENV+= MSHEADER="no"
.endif
post-patch:
${REINPLACE_CMD} -e "s|postgresql/libpq-fe.h|libpq-fe.h|g" \
${WRKSRC}/configure
.include <bsd.port.mk>
|