openbsd-ports/www/rt/Makefile

152 lines
3.8 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.40 2018/01/11 19:27:12 rpe Exp $
COMMENT= industrial-grade ticketing system
DISTNAME= rt-4.4.2
CATEGORIES= www
REVISION= 0
2010-09-15 14:25:19 +00:00
MAINTAINER= Robert Nagy <robert@openbsd.org>
HOMEPAGE= http://www.bestpractical.com/rt/
MASTER_SITES= https://download.bestpractical.com/pub/rt/release/ \
http://www.fsck.com/pub/rt/release/
2017-06-30 16:43:53 +00:00
RUN_DEPENDS= converters/p5-Convert-ASN1 \
converters/p5-Convert-Color \
2015-10-14 17:45:44 +00:00
converters/p5-DateManip \
converters/p5-JSON \
databases/p5-DBD-mysql \
databases/p5-DBI \
2010-11-22 08:36:47 +00:00
databases/p5-DBIx-SearchBuilder \
2017-06-30 16:43:53 +00:00
databases/p5-Data-Page \
devel/p5-Class-ReturnValue \
2017-06-30 16:43:53 +00:00
devel/p5-Data-UUID \
2015-10-14 17:45:44 +00:00
devel/p5-Data-GUID \
2010-11-22 08:36:47 +00:00
devel/p5-Data-ICal \
2015-10-14 17:45:44 +00:00
devel/p5-Date-Extract \
devel/p5-DateTime \
2015-10-14 17:45:44 +00:00
devel/p5-DateTime-Format-Natural \
devel/p5-Devel-GlobalDestruction \
devel/p5-Devel-StackTrace \
2010-11-22 08:36:47 +00:00
devel/p5-File-ShareDir \
devel/p5-IPC-Run \
devel/p5-IPC-Run-SafeHandles \
devel/p5-IPC-Run3 \
2010-11-22 08:36:47 +00:00
devel/p5-Locale-Maketext-Fuzzy \
devel/p5-Locale-Maketext-Lexicon \
devel/p5-Log-Dispatch \
2017-06-30 16:43:53 +00:00
devel/p5-Module-Pluggable \
2015-10-14 17:45:44 +00:00
devel/p5-Module-Refresh \
2010-11-22 08:36:47 +00:00
devel/p5-Module-Versions-Report \
devel/p5-PerlIO-eol \
devel/p5-Regexp-IPv6 \
2015-10-14 17:45:44 +00:00
devel/p5-Role-Basic \
2017-06-30 16:43:53 +00:00
devel/p5-Scope-Upper \
2015-10-14 17:45:44 +00:00
devel/p5-Symbol-Global-Name \
2010-11-22 08:36:47 +00:00
devel/p5-Time-modules \
devel/p5-Tree-Simple \
2010-11-22 08:36:47 +00:00
devel/p5-Universal-require \
graphics/gd \
2010-11-22 08:36:47 +00:00
graphics/p5-GD-Graph \
mail/p5-Email-Address \
2015-10-14 17:45:44 +00:00
mail/p5-Email-Address-List \
mail/p5-Mail-Tools \
2010-11-22 08:36:47 +00:00
mail/p5-MIME-Types \
mail/p5-MIME-tools \
math/graphviz,-main \
2017-06-30 22:22:45 +00:00
math/p5-Business-Hours \
2010-11-22 08:36:47 +00:00
math/p5-GraphViz \
2017-06-30 16:43:53 +00:00
math/p5-Set-IntSpan \
net/p5-Net-CIDR \
2017-06-30 16:43:53 +00:00
net/p5-Net-IP \
net/p5-Regexp-Common-net-CIDR \
security/gnupg \
2015-10-14 17:45:44 +00:00
security/p5-Crypt-Eksblowfish \
2017-06-30 16:43:53 +00:00
security/p5-Crypt-SSLeay \
2015-10-14 17:45:44 +00:00
security/p5-Crypt-X509 \
2010-11-22 08:36:47 +00:00
security/p5-GnuPG-Interface \
security/p5-Text-Password-Pronounceable \
2015-10-14 17:45:44 +00:00
sysutils/p5-File-Which \
textproc/p5-List-UtilsBy \
2010-11-22 08:36:47 +00:00
textproc/p5-Regexp-Common \
2015-10-14 17:45:44 +00:00
textproc/p5-String-ShellQuote \
2010-11-22 08:36:47 +00:00
textproc/p5-Text-Quoted \
textproc/p5-Text-Quoted \
2010-11-22 08:36:47 +00:00
textproc/p5-Text-Template \
textproc/p5-Text-WikiFormat \
textproc/p5-Text-Wrapper \
textproc/p5-XML-RSS \
www/fcgi \
www/p5-Apache-Session \
www/p5-CGI-Emulate-PSGI \
www/p5-CGI-PSGI \
2017-06-30 16:43:53 +00:00
www/p5-CSS-Minifier-XS \
2010-11-22 08:36:47 +00:00
www/p5-CSS-Squish \
2017-06-30 16:43:53 +00:00
www/p5-Data-Page-Pageset \
2010-11-22 08:36:47 +00:00
www/p5-HTML-Format \
2015-10-14 17:45:44 +00:00
www/p5-HTML-FormatText-WithLinks \
www/p5-HTML-FormatText-WithLinks-AndTables \
www/p5-HTML-Mason-PSGIHandler \
www/p5-HTML-Quoted \
2010-11-22 08:36:47 +00:00
www/p5-HTML-RewriteAttributes \
www/p5-HTML-Scrubber \
www/p5-HTML-Tree \
www/p5-HTTP-Server-Simple-Mason \
www/p5-JavaScript-Minifier \
2017-06-30 16:43:53 +00:00
www/p5-JavaScript-Minifier-XS \
www/p5-Starlet \
www/p5-Starman \
www/p5-libwww
# GPL
PERMIT_PACKAGE_CDROM= Yes
NO_BUILD= Yes
PKG_ARCH= *
CONFIGURE_STYLE= gnu
2010-05-29 13:25:06 +00:00
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-rt-group=bin \
2010-05-29 13:25:06 +00:00
--enable-layout=OpenBSD \
--enable-gpg \
--enable-graphviz \
--enable-gd
RUN_DEPENDS+= security/gnupg \
2010-11-22 08:36:47 +00:00
graphics/gd \
math/graphviz,-main
BUILD_DEPENDS+= security/gnupg \
2010-11-22 08:36:47 +00:00
graphics/gd \
math/graphviz,-main
FLAVORS= pgsql sqlite
FLAVOR?=
.if ${FLAVOR:Mpgsql}
2010-11-22 08:36:47 +00:00
RUN_DEPENDS+= databases/p5-DBD-Pg
CONFIGURE_ARGS+= --with-db-type=Pg
.elif ${FLAVOR:Msqlite}
2010-11-22 08:36:47 +00:00
RUN_DEPENDS+= databases/p5-DBD-SQLite
CONFIGURE_ARGS+= --with-db-type=SQLite
.else
2010-11-22 08:36:47 +00:00
RUN_DEPENDS+= databases/p5-DBD-mysql
.endif
# needs an initialized database and /etc/rt3/RT_Config.pm to be present
2013-03-11 11:35:43 +00:00
TEST_IS_INTERACTIVE= Yes
TEST_TARGET= test
2017-06-30 16:43:53 +00:00
TEST_DEPENDS= devel/p5-Log-Dispatch-Perl
# fill these in with appropriate values
TEST_ENV= RT_DBA_USER=rt_user RT_DBA_PASSWORD=1234
post-install:
@mv ${PREFIX}/sbin/standalone_httpd ${PREFIX}/sbin/rt-standalone_httpd
.include <bsd.port.mk>