freebsd-ports/finance/sql-ledger/Makefile
Eitan Adler c59a3834c4 At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:	portmgr
2012-01-21 17:40:15 +00:00

41 lines
1 KiB
Makefile

# New ports collection makefile for: sql-ledger
# Date created: 2005-10-29
# Whom: lth@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= sql-ledger
PORTVERSION= 2.8.23
CATEGORIES= finance perl5
MASTER_SITES= http://www.sql-ledger.com/source/ \
http://abacus.sql-ledger.com/source/ \
http://pluto.sql-ledger.com/source/
MAINTAINER= ports@FreeBSD.org
COMMENT= A double entry accounting system
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_BUILD= yes
USE_PERL5= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message sql-ledger-httpd.conf
post-patch:
@${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \
`${FIND} ${WRKSRC} -name \*.pl`
do-install:
@cd ${WRKDIR} ; \
${TAR} -cf - ${PORTNAME} | ( cd ${PREFIX} ; ${TAR} xf - )
@cd ${PREFIX}/${PORTNAME} ; \
${CHOWN} -hR ${WWWOWN}:${WWWGRP} * ; \
${CHMOD} 711 users templates css spool
@${INSTALL_DATA} ${WRKDIR}/sql-ledger-httpd.conf ${PREFIX}/etc/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>