aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dfc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-23 06:17:02 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-23 06:17:02 +0000
commit083aec27846374609c06813f1244a291ac3ef1b6 (patch)
treee1d92a21b1f92dd34689a101e75e4036c1a7f0e0 /sysutils/dfc
parentbd22d04bd10f516a13562bfe13dd0acf686a6f53 (diff)
downloadports-083aec27846374609c06813f1244a291ac3ef1b6.tar.gz
ports-083aec27846374609c06813f1244a291ac3ef1b6.zip
Notes
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