aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/klog/Makefile4
-rw-r--r--comms/klog/pkg-plist13
2 files changed, 8 insertions, 9 deletions
diff --git a/comms/klog/Makefile b/comms/klog/Makefile
index 19b013df07f5..81be8ec55fe1 100644
--- a/comms/klog/Makefile
+++ b/comms/klog/Makefile
@@ -6,6 +6,7 @@
PORTNAME= klog
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= klog
@@ -16,9 +17,12 @@ COMMENT= ADIF compatible logging application
LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib
USE_AUTOTOOLS= libtool:15
+INSTALLS_ICONS= yes
USE_GMAKE= yes
USE_KDELIBS_VER=3
+DOCSDIR=share/doc/HTML
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/src/klog.desktop \
${PREFIX}/share/applnk/Applications/klog.desktop
diff --git a/comms/klog/pkg-plist b/comms/klog/pkg-plist
index 552094f343de..07110ee617a2 100644
--- a/comms/klog/pkg-plist
+++ b/comms/klog/pkg-plist
@@ -2,20 +2,15 @@ bin/klog
share/applnk/Applications/klog.desktop
share/applnk/Utilities/klog.desktop
share/apps/klog/klogui.rc
-share/doc/HTML/en/klog/common
-share/doc/HTML/en/klog/index.cache.bz2
-share/doc/HTML/en/klog/index.docbook
+%%DOCSDIR%%/en/klog/common
+%%DOCSDIR%%/en/klog/index.cache.bz2
+%%DOCSDIR%%/en/klog/index.docbook
share/icons/hicolor/16x16/apps/klog.png
share/icons/hicolor/32x32/apps/klog.png
share/icons/locolor/16x16/apps/klog.png
share/icons/locolor/32x32/apps/klog.png
@dirrm share/apps/klog
-@dirrm share/doc/HTML/en/klog
-@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 %%DOCSDIR%%/en/klog
@dirrmtry share/icons/locolor/32x32/apps
@dirrmtry share/icons/locolor/32x32
@dirrmtry share/icons/locolor/16x16/apps