aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kwatch
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-11-07 01:27:39 +0800
committeralepulver <alepulver@FreeBSD.org>2006-11-07 01:27:39 +0800
commitf414088c540a390f580f5dd0a76290d3bc83e190 (patch)
treea3aeeb5fb95575ec911c95ce8c9bda200654fe33 /misc/kwatch
parentc69815c66a1ed7d396536deb498c2956a6f0ca25 (diff)
downloadfreebsd-ports-graphics-f414088c540a390f580f5dd0a76290d3bc83e190.tar.gz
freebsd-ports-graphics-f414088c540a390f580f5dd0a76290d3bc83e190.tar.zst
freebsd-ports-graphics-f414088c540a390f580f5dd0a76290d3bc83e190.zip
- Fix pkg-plist.
- Pet portlint, set INSTALS_ICONS. PR: ports/104864 Submitted by: Thomas Abthorpe <thomas@goodking.ca>
Diffstat (limited to 'misc/kwatch')
-rw-r--r--misc/kwatch/Makefile4
-rw-r--r--misc/kwatch/pkg-plist17
2 files changed, 10 insertions, 11 deletions
diff --git a/misc/kwatch/Makefile b/misc/kwatch/Makefile
index 34d9c1973f7..5d6d05decbc 100644
--- a/misc/kwatch/Makefile
+++ b/misc/kwatch/Makefile
@@ -17,6 +17,10 @@ COMMENT= KDE/Qt log file viewer
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
+USE_GETTEXT= yes
+INSTALLS_ICONS= yes
+
+DOCSDIR= ${PREFIX}/share/doc/HTML
post-patch:
@${REINPLACE_CMD} -e 's,-O2 ,,g ; \
diff --git a/misc/kwatch/pkg-plist b/misc/kwatch/pkg-plist
index f3fd4af66ea..657612ec42c 100644
--- a/misc/kwatch/pkg-plist
+++ b/misc/kwatch/pkg-plist
@@ -1,9 +1,9 @@
bin/kwatch
share/applnk/Utilities/kwatch.desktop
share/apps/kwatch/kwatchui.rc
-share/doc/HTML/default/kwatch/common
-share/doc/HTML/default/kwatch/index.cache.bz2
-share/doc/HTML/default/kwatch/index.docbook
+%%DOCSDIR%%/default/kwatch/common
+%%DOCSDIR%%/default/kwatch/index.cache.bz2
+%%DOCSDIR%%/default/kwatch/index.docbook
share/icons/hicolor/16x16/apps/kwatch.png
share/icons/hicolor/32x32/apps/kwatch.png
share/icons/locolor/16x16/apps/kwatch.png
@@ -15,13 +15,8 @@ share/locale/de/LC_MESSAGES/kwatch.mo
@dirrmtry share/icons/locolor/16x16/apps
@dirrmtry share/icons/locolor/16x16
@dirrmtry share/icons/locolor
-@dirrmtry share/icons/hicolor/32x32/apps
-@dirrmtry share/icons/hicolor/32x32
-@dirrmtry share/icons/hicolor/16x16/apps
-@dirrmtry share/icons/hicolor/16x16
-@dirrmtry share/icons/hicolor
-@dirrm share/doc/HTML/default/kwatch
-@dirrmtry share/doc/HTML/default
-@dirrmtry share/doc/HTML
+@dirrm %%DOCSDIR%%/default/kwatch
+@dirrmtry %%DOCSDIR%%/default
+@dirrmtry %%DOCSDIR%%
@dirrm share/apps/kwatch
@dirrmtry share/applnk/Utilities