blob: 8d1dc5705e419bf00cd8897e08447945a2c1f71c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= ledgersmb
PORTVERSION= 1.2.26
PORTREVISION= 2
CATEGORIES= finance perl5
MASTER_SITES= http://download.ledgersmb.org/f/Releases/archives/${PORTVERSION:R}/${PORTVERSION}/
MAINTAINER= ty@eye-of-odin.com
COMMENT= Double entry accounting system
WWW= https://www.ledgersmb.org/
BUILD_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg \
p5-MIME-Lite>=0:mail/p5-MIME-Lite \
p5-Config-Std>=0:devel/p5-Config-Std
RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
NO_ARCH= yes
USES= cpe perl5 shebangfix
SHEBANG_FILES= utils/devel/chart-load-test.sh \
utils/devel/find-use \
utils/pos/pos-hardware-client-startup-script
USE_PERL5= run build patch
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/usr/bin/perl|${perl_CMD}|' \
`${FIND} ${WRKSRC} -name \*.pl`
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
${FILESDIR}/ledger-smb-httpd.conf.in \
> ${WRKDIR}/ledger-smb-httpd.conf
do-install:
@${CP} -R ${WRKSRC} ${STAGEDIR}${PREFIX}
@cd ${STAGEDIR}${PREFIX}/${PORTNAME} ; \
${CHMOD} 711 templates css spool
${INSTALL_DATA} ${WRKDIR}/ledger-smb-httpd.conf ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>
|