aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-10-09 03:04:40 +0800
committerantoine <antoine@FreeBSD.org>2014-10-09 03:04:40 +0800
commit97f648efd9ab49c4822f95907210fb2237245c24 (patch)
tree7dac83164c8f92207e01a737e1db164b3fcaa886 /finance
parentda87f74d39621484df5b190d195fa426a2d0630f (diff)
downloadfreebsd-ports-gnome-97f648efd9ab49c4822f95907210fb2237245c24.tar.gz
freebsd-ports-gnome-97f648efd9ab49c4822f95907210fb2237245c24.tar.zst
freebsd-ports-gnome-97f648efd9ab49c4822f95907210fb2237245c24.zip
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
Diffstat (limited to 'finance')
-rw-r--r--finance/ledgersmb/Makefile4
-rw-r--r--finance/ledgersmb/pkg-plist143
2 files changed, 75 insertions, 72 deletions
diff --git a/finance/ledgersmb/Makefile b/finance/ledgersmb/Makefile
index 5ddc285d484b..db7041274226 100644
--- a/finance/ledgersmb/Makefile
+++ b/finance/ledgersmb/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ledger-smb
PORTVERSION= 1.1.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= finance perl5
MASTER_SITES= SF/${PORTNAME}/ledgersmb/${PORTVERSION}
@@ -18,13 +18,13 @@ 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} ; \
- ${CHOWN} -hR ${WWWOWN}:${WWWGRP} * ; \
${CHMOD} 711 users templates css spool
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-httpd.conf ${STAGEDIR}${PREFIX}/etc/
diff --git a/finance/ledgersmb/pkg-plist b/finance/ledgersmb/pkg-plist
index 0fbdc952abf6..0f233fb018ba 100644
--- a/finance/ledgersmb/pkg-plist
+++ b/finance/ledgersmb/pkg-plist
@@ -1,4 +1,6 @@
etc/ledger-smb-httpd.conf
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
ledger-smb/.swp
ledger-smb/CONTRIBUTORS
ledger-smb/COPYRIGHT
@@ -2482,73 +2484,74 @@ ledger-smb/utils/notify_short/README
ledger-smb/utils/notify_short/config.pl
ledger-smb/utils/notify_short/listener.pl
ledger-smb/winprint.bat
-@dirrm ledger-smb/utils/notify_short
-@dirrm ledger-smb/utils/fixme
-@dirrm ledger-smb/utils/custom_fields
-@dirrm ledger-smb/utils
-@dirrm ledger-smb/users
-@dirrm ledger-smb/templates/demo
-@dirrm ledger-smb/templates
-@dirrm ledger-smb/sql
-@dirrm ledger-smb/spool
-@dirrm ledger-smb/locale/ve
-@dirrm ledger-smb/locale/ua_utf
-@dirrm ledger-smb/locale/ua
-@dirrm ledger-smb/locale/tw_utf
-@dirrm ledger-smb/locale/tw_big5
-@dirrm ledger-smb/locale/tr
-@dirrm ledger-smb/locale/sv
-@dirrm ledger-smb/locale/se
-@dirrm ledger-smb/locale/ru_utf
-@dirrm ledger-smb/locale/ru
-@dirrm ledger-smb/locale/py
-@dirrm ledger-smb/locale/pt
-@dirrm ledger-smb/locale/pl
-@dirrm ledger-smb/locale/pa
-@dirrm ledger-smb/locale/nl
-@dirrm ledger-smb/locale/nb
-@dirrm ledger-smb/locale/mx
-@dirrm ledger-smb/locale/lv
-@dirrm ledger-smb/locale/lt
-@dirrm ledger-smb/locale/it
-@dirrm ledger-smb/locale/is
-@dirrm ledger-smb/locale/id
-@dirrm ledger-smb/locale/hu
-@dirrm ledger-smb/locale/gr
-@dirrm ledger-smb/locale/fr
-@dirrm ledger-smb/locale/fi_utf
-@dirrm ledger-smb/locale/fi
-@dirrm ledger-smb/locale/es_utf
-@dirrm ledger-smb/locale/es
-@dirrm ledger-smb/locale/en_GB
-@dirrm ledger-smb/locale/eg_utf
-@dirrm ledger-smb/locale/ee_utf
-@dirrm ledger-smb/locale/ee
-@dirrm ledger-smb/locale/ec
-@dirrm ledger-smb/locale/dk
-@dirrm ledger-smb/locale/de_utf
-@dirrm ledger-smb/locale/de
-@dirrm ledger-smb/locale/cz
-@dirrm ledger-smb/locale/ct
-@dirrm ledger-smb/locale/co_utf
-@dirrm ledger-smb/locale/co
-@dirrm ledger-smb/locale/cn_utf
-@dirrm ledger-smb/locale/ch_utf
-@dirrm ledger-smb/locale/ch
-@dirrm ledger-smb/locale/ca_fr
-@dirrm ledger-smb/locale/ca_en
-@dirrm ledger-smb/locale/br
-@dirrm ledger-smb/locale/bg_utf
-@dirrm ledger-smb/locale/be_nl
-@dirrm ledger-smb/locale/be_fr
-@dirrm ledger-smb/locale
-@dirrm ledger-smb/doc/manual
-@dirrm ledger-smb/doc
-@dirrm ledger-smb/dists/gentoo
-@dirrm ledger-smb/dists
-@dirrm ledger-smb/css
-@dirrm ledger-smb/bin/mozilla
-@dirrm ledger-smb/bin/lynx
-@dirrm ledger-smb/bin
-@dirrm ledger-smb/LedgerSMB
-@dirrm ledger-smb
+@dir ledger-smb/utils/notify_short
+@dir ledger-smb/utils/fixme
+@dir ledger-smb/utils/custom_fields
+@dir ledger-smb/utils
+@dir ledger-smb/users
+@dir ledger-smb/templates/demo
+@dir ledger-smb/templates
+@dir ledger-smb/sql
+@dir ledger-smb/spool
+@dir ledger-smb/locale/ve
+@dir ledger-smb/locale/ua_utf
+@dir ledger-smb/locale/ua
+@dir ledger-smb/locale/tw_utf
+@dir ledger-smb/locale/tw_big5
+@dir ledger-smb/locale/tr
+@dir ledger-smb/locale/sv
+@dir ledger-smb/locale/se
+@dir ledger-smb/locale/ru_utf
+@dir ledger-smb/locale/ru
+@dir ledger-smb/locale/py
+@dir ledger-smb/locale/pt
+@dir ledger-smb/locale/pl
+@dir ledger-smb/locale/pa
+@dir ledger-smb/locale/nl
+@dir ledger-smb/locale/nb
+@dir ledger-smb/locale/mx
+@dir ledger-smb/locale/lv
+@dir ledger-smb/locale/lt
+@dir ledger-smb/locale/it
+@dir ledger-smb/locale/is
+@dir ledger-smb/locale/id
+@dir ledger-smb/locale/hu
+@dir ledger-smb/locale/gr
+@dir ledger-smb/locale/fr
+@dir ledger-smb/locale/fi_utf
+@dir ledger-smb/locale/fi
+@dir ledger-smb/locale/es_utf
+@dir ledger-smb/locale/es
+@dir ledger-smb/locale/en_GB
+@dir ledger-smb/locale/eg_utf
+@dir ledger-smb/locale/ee_utf
+@dir ledger-smb/locale/ee
+@dir ledger-smb/locale/ec
+@dir ledger-smb/locale/dk
+@dir ledger-smb/locale/de_utf
+@dir ledger-smb/locale/de
+@dir ledger-smb/locale/cz
+@dir ledger-smb/locale/ct
+@dir ledger-smb/locale/co_utf
+@dir ledger-smb/locale/co
+@dir ledger-smb/locale/cn_utf
+@dir ledger-smb/locale/ch_utf
+@dir ledger-smb/locale/ch
+@dir ledger-smb/locale/ca_fr
+@dir ledger-smb/locale/ca_en
+@dir ledger-smb/locale/br
+@dir ledger-smb/locale/bg_utf
+@dir ledger-smb/locale/be_nl
+@dir ledger-smb/locale/be_fr
+@dir ledger-smb/locale
+@dir ledger-smb/doc/manual
+@dir ledger-smb/doc
+@dir ledger-smb/dists/gentoo
+@dir ledger-smb/dists
+@dir ledger-smb/css
+@dir ledger-smb/bin/mozilla
+@dir ledger-smb/bin/lynx
+@dir ledger-smb/bin
+@dir ledger-smb/LedgerSMB
+@owner
+@group