freebsd-ports/finance/ledgersmb/Makefile
Antoine Brodin 6743f9b86f - Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
2014-10-08 19:04:40 +00:00

31 lines
894 B
Makefile

# Created by: anarcat@anarcat.ath.cx
# $FreeBSD$
PORTNAME= ledger-smb
PORTVERSION= 1.1.12
PORTREVISION= 2
CATEGORIES= finance perl5
MASTER_SITES= SF/${PORTNAME}/ledgersmb/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Double entry accounting system
BUILD_DEPENDS= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PKGMESSAGE= ${WRKDIR}/pkg-message
USES= shebangfix perl5
SHEBANG_FILES= *.pl locale/*/*.pl bin/*/*.pl utils/*/*.pl
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
SUB_FILES= ${PORTNAME}-httpd.conf pkg-message
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}/${PORTNAME}-httpd.conf ${STAGEDIR}${PREFIX}/etc/
.include <bsd.port.mk>