aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2015-10-08 14:07:20 +0000
committerLars Engels <lme@FreeBSD.org>2015-10-08 14:07:20 +0000
commite12f77294208b750e016fc951df2f514cdbbabc2 (patch)
treeb0b7b850004fef771b323b69067ea589d8e6b011 /net-mgmt
parent820c4ba2479c0c3420e698bbad1d19c56d476ffa (diff)
downloadports-e12f77294208b750e016fc951df2f514cdbbabc2.tar.gz
ports-e12f77294208b750e016fc951df2f514cdbbabc2.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/icingaweb2/Makefile6
-rw-r--r--net-mgmt/icingaweb2/files/pkg-message.in3
-rw-r--r--net-mgmt/icingaweb2/pkg-plist8
3 files changed, 9 insertions, 8 deletions
diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile
index e49b6a5ec7e6..a178b7b402b7 100644
--- a/net-mgmt/icingaweb2/Makefile
+++ b/net-mgmt/icingaweb2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= icingaweb2
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
+PORTREVISION= 1
CATEGORIES= net-mgmt www
MAINTAINER= lme@FreeBSD.org
@@ -41,11 +42,8 @@ do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/bash_completion.d/
${INSTALL_DATA} ${WRKSRC}/etc/bash_completion.d/icingacli \
${STAGEDIR}${EXAMPLESDIR}/bash_completion.d
- ${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${WRKSRC}/etc && \
- ${COPYTREE_SHARE} schema ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${RM} -r .mailmap changelog.py icingaweb2.spec \
- bin/license_writer.py etc packages test)
+ bin/license_writer.py packages test)
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && \
${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
diff --git a/net-mgmt/icingaweb2/files/pkg-message.in b/net-mgmt/icingaweb2/files/pkg-message.in
index 6c6d916bcc2c..4418f76b7df0 100644
--- a/net-mgmt/icingaweb2/files/pkg-message.in
+++ b/net-mgmt/icingaweb2/files/pkg-message.in
@@ -8,3 +8,6 @@ cd %%WWWDIR%% && ./bin/icingacli setup token create --config=%%ETCDIR%%
Enter this token on Icinga Web 2's setup interface at
http://localhost/icingaweb2/setup
+
+If you like to create the database schemas manually, you can find the
+SQL files at %%WWWDIR%%/etc/schema
diff --git a/net-mgmt/icingaweb2/pkg-plist b/net-mgmt/icingaweb2/pkg-plist
index 240d277496c2..aef461cd6f89 100644
--- a/net-mgmt/icingaweb2/pkg-plist
+++ b/net-mgmt/icingaweb2/pkg-plist
@@ -1,10 +1,10 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apache/icingaweb2.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bash_completion.d/icingacli
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nginx/icingaweb2.conf
-%%DATADIR%%/schema/mysql-upgrades/2.0.0beta3-2.0.0rc1.sql
-%%DATADIR%%/schema/mysql.schema.sql
-%%DATADIR%%/schema/pgsql-upgrades/2.0.0beta3-2.0.0rc1.sql
-%%DATADIR%%/schema/pgsql.schema.sql
+%%ETCDIR%%/schema/mysql-upgrades/2.0.0beta3-2.0.0rc1.sql
+%%ETCDIR%%/schema/mysql.schema.sql
+%%ETCDIR%%/schema/pgsql-upgrades/2.0.0beta3-2.0.0rc1.sql
+%%ETCDIR%%/schema/pgsql.schema.sql
%%WWWDIR%%/AUTHORS
%%WWWDIR%%/COPYING
%%WWWDIR%%/ChangeLog