aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dfc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-23 14:17:02 +0800
committerbapt <bapt@FreeBSD.org>2013-09-23 14:17:02 +0800
commit91c74becdf548fa10d292243e0a818b2acf5fa26 (patch)
treee1d92a21b1f92dd34689a101e75e4036c1a7f0e0 /sysutils/dfc
parentf9702794c2812b0ea6989d6d215ea0309b648ab2 (diff)
downloadfreebsd-ports-gnome-91c74becdf548fa10d292243e0a818b2acf5fa26.tar.gz
freebsd-ports-gnome-91c74becdf548fa10d292243e0a818b2acf5fa26.tar.zst
freebsd-ports-gnome-91c74becdf548fa10d292243e0a818b2acf5fa26.zip
Use stage
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