aboutsummaryrefslogtreecommitdiff
path: root/finance/sql-ledger
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2018-01-08 21:25:33 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2018-01-08 21:25:33 +0000
commit57eb3deeef85cbc127b7c4bad3326841ba9a6253 (patch)
treeb80d506d1ae357bc7ef3cc5648ace32e4dd481ed /finance/sql-ledger
parent78ffb2faea4daaebbf2505acb697c27d59e2d546 (diff)
downloadports-57eb3deeef85cbc127b7c4bad3326841ba9a6253.tar.gz
ports-57eb3deeef85cbc127b7c4bad3326841ba9a6253.zip
Notes
Diffstat (limited to 'finance/sql-ledger')
-rw-r--r--finance/sql-ledger/Makefile23
-rw-r--r--finance/sql-ledger/distinfo6
2 files changed, 20 insertions, 9 deletions
diff --git a/finance/sql-ledger/Makefile b/finance/sql-ledger/Makefile
index 96413bbbfe75..7ba5f21bf0fb 100644
--- a/finance/sql-ledger/Makefile
+++ b/finance/sql-ledger/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sql-ledger
-PORTVERSION= 3.2.5
+PORTVERSION= 3.2.6
CATEGORIES= finance perl5
MASTER_SITES= http://www.sql-ledger.com/source/
@@ -20,14 +20,22 @@ SUB_FILES= pkg-message sql-ledger-httpd.conf
USES= perl5 pgsql shebangfix
SHEBANG_FILES= *.pl locale/*/*.pl bin/*/*.pl
NO_ARCH= yes
+USE_APACHE_RUN= 22+
ROOT_DIRS= SL bin css doc images js locale spool sql templates users
-ROOT_FILES= VERSION admin.pl am.pl ap.pl ar.pl bp.pl ca.pl cp.pl ct.pl\
- favicon.ico gl.pl hr.pl ic.pl im.pl index.html ir.pl is.pl\
- jc.pl login.pl menu.ini menu.pl oe.pl pe.pl ps.pl rc.pl\
- rd.pl rp.pl setup.pl sm.pl vr.pl
+ROOT_FILES= VERSION favicon.ico index.html menu.ini
+ROOT_SCRIPTS= admin.pl am.pl ap.pl ar.pl bp.pl ca.pl cp.pl ct.pl gl.pl hr.pl \
+ ic.pl im.pl ir.pl is.pl jc.pl login.pl menu.pl oe.pl pe.pl ps.pl \
+ rc.pl rd.pl rp.pl setup.pl sm.pl vr.pl
+.include <bsd.port.pre.mk>
do-install:
+.if ${APACHE_VERSION:M24}
+ @${REINPLACE_CMD} -e '/Order/d' \
+ -e 's/Deny from All/Require all denied/g' \
+ -e 's/Allow from All/Require all granted/g' \
+ ${WRKDIR}/sql-ledger-httpd.conf
+.endif
${INSTALL_DATA} ${WRKDIR}/sql-ledger-httpd.conf ${STAGEDIR}${PREFIX}/etc/
@${MKDIR} ${STAGEDIR}/${WWWDIR}
.for dir in ${ROOT_DIRS}
@@ -37,6 +45,9 @@ do-install:
.for f in ${ROOT_FILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR}
.endfor
+.for f in ${ROOT_SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}/${WWWDIR}
+.endfor
post-install:
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST}
@@ -52,4 +63,4 @@ post-install:
@${ECHO_CMD} "@group" >> ${TMPPLIST}
@${ECHO_CMD} "@owner" >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/finance/sql-ledger/distinfo b/finance/sql-ledger/distinfo
index 4d79b3094b9e..11ad73e49220 100644
--- a/finance/sql-ledger/distinfo
+++ b/finance/sql-ledger/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496615752
-SHA256 (sql-ledger-3.2.5.tar.gz) = db3c7f46b85fbabc89941d752cb426a2ada3799a9867ecec20fda0b3bc78b544
-SIZE (sql-ledger-3.2.5.tar.gz) = 3812247
+TIMESTAMP = 1515443074
+SHA256 (sql-ledger-3.2.6.tar.gz) = 28acacfe2029ae33995405256e149fb3707c1799b5a4556e00c7fef297b1be55
+SIZE (sql-ledger-3.2.6.tar.gz) = 3816080