aboutsummaryrefslogtreecommitdiffstats
path: root/finance/sql-ledger/Makefile
blob: 4a2d449daf175b966e324f3f014dda41bfdf105e (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
# Created by: lth@FreeBSD.org
# $FreeBSD$

PORTNAME=   sql-ledger
PORTVERSION=    3.0.6
CATEGORIES= finance perl5
MASTER_SITES=   http://www.sql-ledger.com/source/ \
        http://abacus.sql-ledger.com/source/ \
        http://pluto.sql-ledger.com/source/

MAINTAINER= 5u623l20@gmail.com
COMMENT=    Double entry accounting system

LICENSE=    GPLv2

BUILD_DEPENDS=  p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
RUN_DEPENDS:=   ${BUILD_DEPENDS}

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}
SUB_FILES=  pkg-message sql-ledger-httpd.conf
USES=       shebangfix perl5
SHEBANG_FILES=  *.pl locale/*/*.pl bin/*/*.pl

do-install:
    cd ${WRKDIR} ; \
        ${TAR} -cf - ${PORTNAME} | ( cd ${STAGEDIR}${PREFIX} ; ${TAR} xf - )
    cd ${STAGEDIR}${PREFIX}/${PORTNAME} ; \
        ${CHMOD} 711 users templates css spool
    ${INSTALL_DATA} ${WRKDIR}/sql-ledger-httpd.conf ${STAGEDIR}${PREFIX}/etc/

.include <bsd.port.mk>