aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dirtree
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-26 22:18:30 +0800
committervs <vs@FreeBSD.org>2005-10-26 22:18:30 +0800
commit63ba72c120f08416ef0b7987eb6efbc276ac0720 (patch)
tree1fbcdd3aa8ce573b1a62424fea23eb89d3a8f92a /misc/dirtree
parent7b45d6c467a781e8c4e1b0999ca5d81165ac9f76 (diff)
downloadfreebsd-ports-graphics-63ba72c120f08416ef0b7987eb6efbc276ac0720.tar.gz
freebsd-ports-graphics-63ba72c120f08416ef0b7987eb6efbc276ac0720.tar.zst
freebsd-ports-graphics-63ba72c120f08416ef0b7987eb6efbc276ac0720.zip
- Nuke two-line plist
- Unconditionally links against libintl - Add URL
Diffstat (limited to 'misc/dirtree')
-rw-r--r--misc/dirtree/Makefile12
-rw-r--r--misc/dirtree/pkg-descr2
-rw-r--r--misc/dirtree/pkg-plist2
3 files changed, 8 insertions, 8 deletions
diff --git a/misc/dirtree/Makefile b/misc/dirtree/Makefile
index 450d458f5d4..0952a65fe65 100644
--- a/misc/dirtree/Makefile
+++ b/misc/dirtree/Makefile
@@ -21,16 +21,16 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
USE_REINPLACE= yes
-
-.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
-.else
+
+.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
+.else
+PLIST_FILES+= share/locale/de/LC_MESSAGES/dirtree.mo
.endif
-MAN1= dirtree.1
+PLIST_FILES+= bin/dirtree
+MAN1= dirtree.1
post-patch:
.for f in src/CppDir.hh src/CppDir.cpp
diff --git a/misc/dirtree/pkg-descr b/misc/dirtree/pkg-descr
index ad9f3cf7838..714fd11bb7a 100644
--- a/misc/dirtree/pkg-descr
+++ b/misc/dirtree/pkg-descr
@@ -1 +1,3 @@
dirtree is a command line tool for displaying directory trees
+
+WWW: http://kingleo.pages.at/index.php?language=EN&show=/development/cpp/#dirtree
diff --git a/misc/dirtree/pkg-plist b/misc/dirtree/pkg-plist
deleted file mode 100644
index ffc28fd9d5c..00000000000
--- a/misc/dirtree/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/dirtree
-%%NLS%%share/locale/de/LC_MESSAGES/dirtree.mo