aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-25 02:59:30 +0800
committerantoine <antoine@FreeBSD.org>2014-09-25 02:59:30 +0800
commit5895ce81e861e622aeb951dfdcf60930651ee76f (patch)
treed4c023f0cba5635e82db46e1ee0bc631cf7f3132 /net-mgmt
parentb51b7eee975a9a839c5c155edb2503b0e8a87942 (diff)
downloadfreebsd-ports-gnome-5895ce81e861e622aeb951dfdcf60930651ee76f.tar.gz
freebsd-ports-gnome-5895ce81e861e622aeb951dfdcf60930651ee76f.tar.zst
freebsd-ports-gnome-5895ce81e861e622aeb951dfdcf60930651ee76f.zip
- Do not violate stagedir
- Remove @dirrm from plist
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ipacctd/Makefile3
-rw-r--r--net-mgmt/ipacctd/pkg-plist2
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/ipacctd/Makefile b/net-mgmt/ipacctd/Makefile
index bbfa44dba930..e4b44eafb524 100644
--- a/net-mgmt/ipacctd/Makefile
+++ b/net-mgmt/ipacctd/Makefile
@@ -19,6 +19,9 @@ OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+post-patch:
+ @${REINPLACE_CMD} 's,{MANDIR},{DESTDIR}$$&,' ${WRKSRC}/man_ru/Makefile
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ru
${INSTALL_DATA} ${WRKSRC}/README.ipacctd ${STAGEDIR}${DOCSDIR}/ru
diff --git a/net-mgmt/ipacctd/pkg-plist b/net-mgmt/ipacctd/pkg-plist
index 20f9fd976bf7..c4fb925e2cd8 100644
--- a/net-mgmt/ipacctd/pkg-plist
+++ b/net-mgmt/ipacctd/pkg-plist
@@ -2,5 +2,3 @@ man/man8/ipacctd.8.gz
man/ru.KOI8-R/man8/ipacctd.8.gz
sbin/ipacctd
%%PORTDOCS%%%%DOCSDIR%%/ru/README.ipacctd
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/ru
-%%PORTDOCS%%@dirrm %%DOCSDIR%%