summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-11-06 17:20:16 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-11-06 17:20:16 +0000
commit7c495b44472c329b1914fca7e889abd75584d17c (patch)
treeff21bd03cc8f9636c4faf128db6de21cea8a0ce6 /deskutils
parent- make fetchable (diff)
- Fix pkg-plist.
- Use INSTALLS_ICONS to pet portlint. PR: ports/104837 Submitted by: Thomas Abthorpe <thomas@goodking.ca>
Notes
Notes: svn path=/head/; revision=176620
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/knowit/Makefile3
-rw-r--r--deskutils/knowit/pkg-plist20
2 files changed, 10 insertions, 13 deletions
diff --git a/deskutils/knowit/Makefile b/deskutils/knowit/Makefile
index 0df9814231dd..89345b6b78f6 100644
--- a/deskutils/knowit/Makefile
+++ b/deskutils/knowit/Makefile
@@ -21,12 +21,15 @@ USE_GETTEXT= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
+INSTALLS_ICONS= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
AUTOMAKE="${TRUE}"
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}
+DOCSDIR= ${PREFIX}/share/doc/HTML
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
diff --git a/deskutils/knowit/pkg-plist b/deskutils/knowit/pkg-plist
index 38a0e8b2f322..9da10a0fd96a 100644
--- a/deskutils/knowit/pkg-plist
+++ b/deskutils/knowit/pkg-plist
@@ -2,10 +2,10 @@ bin/knowit
share/applnk/Applications/knowit.desktop
share/apps/knowit/knowitui.rc
share/apps/knowit/tips
-share/doc/HTML/en/knowit/common
-share/doc/HTML/en/knowit/index.cache.bz2
-share/doc/HTML/en/knowit/index.docbook
-share/doc/HTML/en/knowit/screenshot.png
+%%DOCSDIR%%/en/knowit/common
+%%DOCSDIR%%/en/knowit/index.cache.bz2
+%%DOCSDIR%%/en/knowit/index.docbook
+%%DOCSDIR%%/en/knowit/screenshot.png
share/icons/hicolor/16x16/apps/knowit.png
share/icons/hicolor/32x32/apps/knowit.png
share/locale/de/LC_MESSAGES/knowit.mo
@@ -18,15 +18,9 @@ share/locale/sk/LC_MESSAGES/knowit.mo
share/locale/zh_CN.GB2312/LC_MESSAGES/knowit.mo
@dirrmtry share/mimelnk/application
@dirrmtry share/mimelnk
-@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
-@dirrmtry share/icons
-@dirrm share/doc/HTML/en/knowit
-@dirrmtry share/doc/HTML/en
-@dirrmtry share/doc/HTML
+@dirrm %%DOCSDIR%%/en/knowit
+@dirrmtry %%DOCSDIR%%/en
+@dirrmtry %%DOCSDIR%%
@dirrm share/apps/knowit
@dirrmtry share/applnk/Applications
@dirrmtry share/applnk