aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dfc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/dfc')
-rw-r--r--sysutils/dfc/Makefile5
-rw-r--r--sysutils/dfc/pkg-plist16
2 files changed, 10 insertions, 11 deletions
diff --git a/sysutils/dfc/Makefile b/sysutils/dfc/Makefile
index ec32932793e4..278c8c54cb6e 100644
--- a/sysutils/dfc/Makefile
+++ b/sysutils/dfc/Makefile
@@ -10,12 +10,10 @@ COMMENT= Display file system space usage using graph and colors
LICENSE= BSD
-OPTIONS_DEFINE= NLS
+OPTIONS_DEFINE= NLS DOCS
USES= cmake
CMAKE_ARGS+= -DMAN_PATH=${MANPREFIX}/man -DDFC_DOC_PATH=${DOCSDIR}
-MANLANG= "" fr
-MAN1= dfc.1
OPTIONS_SUB= yes
@@ -23,5 +21,4 @@ NLS_USES= gettext
NLS_CMAKE_ON= -DNLS_ENABLED=true
NLS_CMAKE_OFF= -DNLS_ENABLED=false
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/sysutils/dfc/pkg-plist b/sysutils/dfc/pkg-plist
index 14a691d49b2e..21e0c612945e 100644
--- a/sysutils/dfc/pkg-plist
+++ b/sysutils/dfc/pkg-plist
@@ -1,13 +1,15 @@
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/HACKING
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TRANSLATORS
+bin/dfc
etc/xdg/dfc/dfcrc
etc/xdg/dfc/fr/dfcrc
-bin/dfc
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/HACKING
-%%DOCSDIR%%/LICENSE
-%%DOCSDIR%%/README
-%%DOCSDIR%%/TRANSLATORS
+man/fr/man1/dfc.1.gz
+man/man1/dfc.1.gz
%%NLS%%share/locale/fr/LC_MESSAGES/dfc.mo
-@dirrmtry %%DOCSDIR%%/
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrmtry man/fr/man1
@dirrmtry man/fr
@dirrmtry etc/xdg/dfc/fr