2013-02-18 19:23:39 +01:00
|
|
|
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
|
2012-04-06 16:36:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= urweb
|
2013-02-18 19:23:39 +01:00
|
|
|
PORTVERSION= 20120925
|
2012-04-06 16:36:30 +02: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
|
|
|
|
|
|
|
|
LICENSE= BSD
|
|
|
|
|
|
|
|
BUILD_DEPENDS= mlton:${PORTSDIR}/lang/mlton
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CCARGS="-I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
|
2012-08-11 07:42:47 +02:00
|
|
|
OPTIONS_DEFINE= ELISP PGSQL SQLITE MYSQL
|
|
|
|
OPTIONS_DEFAULT=ELISP PGSQL
|
|
|
|
OPTIONS_EXCLUDE=NLS DOCS
|
|
|
|
ELISP_DESC= Install contributed Emacs Lisp
|
2012-04-06 16:36:30 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-08-11 07:42:47 +02:00
|
|
|
.if ${PORT_OPTIONS:MELISP}
|
2012-04-06 16:36:30 +02:00
|
|
|
PLIST_SUB+= ELISP=""
|
|
|
|
CONFIGURE_ARGS+= with_emacs=yes
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= ELISP="@comment "
|
|
|
|
CONFIGURE_ARGS+= with_emacs=no
|
|
|
|
.endif
|
|
|
|
|
2012-08-11 07:42:47 +02:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2012-04-06 16:36:30 +02:00
|
|
|
USE_PGSQL= server
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= PGHEADER="no"
|
|
|
|
.endif
|
|
|
|
|
2012-08-11 07:42:47 +02:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2012-04-06 16:36:30 +02:00
|
|
|
USE_SQLITE= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= SQHEADER="no"
|
|
|
|
.endif
|
|
|
|
|
2012-08-11 07:42:47 +02:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2012-04-06 16:36:30 +02:00
|
|
|
USE_MYSQL= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ENV+= MSHEADER="no"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|