finance/sql-ledger: Update version 3.2.5=>3.2.6
- Fix script installation as executable [1] PR: 220545 [1] Submitted by: frankenbox@live.com [1] Relnotes: http://www.sql-ledger.org/cgi-bin/nav.pl?page=misc/whatsnew.html&title=What%27s%20New
This commit is contained in:
parent
78ffb2faea
commit
57eb3deeef
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458480
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user