aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-04 10:05:05 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-04 10:05:05 +0000
commit488e8b4eeeca7902586a14e9b7e6111f7b6f618f (patch)
tree22bf0403ad0ad37b4aee35d403417b907c7d33fe /deskutils
parent51f8f29d0fa862f621dbf6a1fe7291ace545a5a3 (diff)
downloadports-488e8b4eeeca7902586a14e9b7e6111f7b6f618f.tar.gz
ports-488e8b4eeeca7902586a14e9b7e6111f7b6f618f.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/knowit/Makefile20
-rw-r--r--deskutils/knowit/pkg-plist18
2 files changed, 13 insertions, 25 deletions
diff --git a/deskutils/knowit/Makefile b/deskutils/knowit/Makefile
index 5098e82a9f3d..ed1aabcaa5d6 100644
--- a/deskutils/knowit/Makefile
+++ b/deskutils/knowit/Makefile
@@ -9,28 +9,18 @@
PORTNAME= knowit
PORTVERSION= 0.8
-PORTREVISION= 0
-#PORTEPOCH=
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://knowit.sourceforge.net/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= A note manager with tree organization that uses RTF for storage
-USE_KDELIBS_VER=3
-PREFIX= ${KDE_PREFIX}
-
USE_BZIP2= yes
+USE_KDELIBS_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-BINDIR= ${PREFIX}/bin
-BINNAME= ${CONFIGURE_TARGET}-${PORTNAME}
-PLIST_SUB= BINNAME=${BINNAME}
-
-post-install:
- cd ${BINDIR}; ${RM} -f ${PORTNAME}; \
- ${LN} -sf ${BINNAME} ${PORTNAME}
-
-.include <bsd.port.mk>
-#EOF
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
diff --git a/deskutils/knowit/pkg-plist b/deskutils/knowit/pkg-plist
index 07bb2cdab0d7..6c974887748c 100644
--- a/deskutils/knowit/pkg-plist
+++ b/deskutils/knowit/pkg-plist
@@ -1,6 +1,4 @@
bin/knowit
-bin/%%BINNAME%%
-bin/knowit
share/applnk/Applications/knowit.desktop
share/apps/knowit/tips
share/doc/HTML/en/knowit/common
@@ -17,13 +15,13 @@ share/locale/pl/LC_MESSAGES/knowit.mo
share/locale/ru/LC_MESSAGES/knowit.mo
share/locale/sk/LC_MESSAGES/knowit.mo
share/locale/zh_CN/LC_MESSAGES/knowit.mo
-@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/32x32
-@dirrm share/icons/hicolor/16x16/apps
-@dirrm share/icons/hicolor/16x16
-@dirrm share/icons/hicolor
+@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
@dirrm share/doc/HTML/en/knowit
-@dirrm share/doc/HTML/en
-@dirrm share/doc/HTML
+@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
+@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
@dirrm share/apps/knowit
-@dirrm share/applnk/Applications
+@unexec rmdir %D/share/applnk/Applications 2>/dev/null || true