Update finance/R-cran-urca to version 1.2.8_3
[dports.git] / finance / sql-ledger / Makefile
1 # Created by: lth@FreeBSD.org
2 # $FreeBSD$
3
4 PORTNAME=       sql-ledger
5 PORTVERSION=    3.0.4
6 CATEGORIES=     finance perl5
7 MASTER_SITES=   http://www.sql-ledger.com/source/ \
8                 http://abacus.sql-ledger.com/source/ \
9                 http://pluto.sql-ledger.com/source/
10
11 MAINTAINER=     5u623l20@gmail.com
12 COMMENT=        A double entry accounting system
13
14 BUILD_DEPENDS=  p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
15 RUN_DEPENDS:=   ${BUILD_DEPENDS}
16
17 NO_BUILD=       yes
18 WRKSRC=         ${WRKDIR}/${PORTNAME}
19 SUB_FILES=      pkg-message sql-ledger-httpd.conf
20 USES=           shebangfix perl5
21 SHEBANG_FILES=  *.pl locale/*/*.pl bin/*/*.pl
22
23 NO_STAGE=       yes
24 do-install:
25         @cd ${WRKDIR} ; \
26                 ${TAR} -cf - ${PORTNAME} | ( cd ${PREFIX} ; ${TAR} xf - )
27         @cd ${PREFIX}/${PORTNAME} ; \
28                 ${CHOWN} -hR ${WWWOWN}:${WWWGRP} * ; \
29                 ${CHMOD} 711 users templates css spool
30         @${INSTALL_DATA} ${WRKDIR}/sql-ledger-httpd.conf ${PREFIX}/etc/
31
32 post-install:
33         @${CAT} ${PKGMESSAGE}
34
35 .include <bsd.port.mk>