2013-02-18 18:23:39 +00:00
|
|
|
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
|
2012-04-06 14:36:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= urweb
|
2013-02-18 18:23:39 +00:00
|
|
|
PORTVERSION= 20120925
|
2014-07-02 16:21:52 +00:00
|
|
|
PORTREVISION= 2
|
2012-04-06 14:36:30 +00:00
|
|
|
CATEGORIES= lang www
|
|
|
|
MASTER_SITES= http://www.impredicative.com/ur/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= beyert@cs.ucr.edu
|
|
|
|
COMMENT= Ultimate host for embedded domain-specific languages
|
|
|
|
|
2014-07-01 15:02:12 +00:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2012-04-06 14:36:30 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= mlton:${PORTSDIR}/lang/mlton
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CCARGS="-I${LOCALBASE}/include"
|
|
|
|
|
2014-07-01 15:02:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USES= gmake libtool
|
2012-04-06 14:36:30 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2014-07-02 16:21:52 +00:00
|
|
|
CFLAGS+= -pthread
|
2012-04-06 14:36:30 +00:00
|
|
|
|
2012-08-11 05:42:47 +00:00
|
|
|
OPTIONS_DEFINE= ELISP PGSQL SQLITE MYSQL
|
|
|
|
OPTIONS_DEFAULT=ELISP PGSQL
|
|
|
|
OPTIONS_EXCLUDE=NLS DOCS
|
|
|
|
ELISP_DESC= Install contributed Emacs Lisp
|
2012-04-06 14:36:30 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-08-11 05:42:47 +00:00
|
|
|
.if ${PORT_OPTIONS:MELISP}
|
2012-04-06 14:36:30 +00:00
|
|
|
PLIST_SUB+= ELISP=""
|
|
|
|
CONFIGURE_ARGS+= with_emacs=yes
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= ELISP="@comment "
|
|
|
|
CONFIGURE_ARGS+= with_emacs=no
|
|
|
|
.endif
|
|
|
|
|
2012-08-11 05:42:47 +00:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2012-04-06 14:36:30 +00:00
|
|
|
USE_PGSQL= server
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= PGHEADER="no"
|
|
|
|
.endif
|
|
|
|
|
2012-08-11 05:42:47 +00:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2012-04-06 14:36:30 +00:00
|
|
|
USE_SQLITE= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= SQHEADER="no"
|
|
|
|
.endif
|
|
|
|
|
2012-08-11 05:42:47 +00:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2012-04-06 14:36:30 +00:00
|
|
|
USE_MYSQL= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= MSHEADER="no"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|