- Fix pkg-plist

PR:		59750
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2003-12-04 10:05:05 +00:00
parent 51f8f29d0f
commit 488e8b4eee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94920
2 changed files with 13 additions and 25 deletions

View File

@ -9,28 +9,18 @@
PORTNAME= knowit PORTNAME= knowit
PORTVERSION= 0.8 PORTVERSION= 0.8
PORTREVISION= 0 PORTREVISION= 1
#PORTEPOCH=
CATEGORIES= deskutils CATEGORIES= deskutils
MASTER_SITES= http://knowit.sourceforge.net/files/ MASTER_SITES= http://knowit.sourceforge.net/files/
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= A note manager with tree organization that uses RTF for storage COMMENT= A note manager with tree organization that uses RTF for storage
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_GMAKE= yes USE_GMAKE= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
BINDIR= ${PREFIX}/bin .include <bsd.port.pre.mk>
BINNAME= ${CONFIGURE_TARGET}-${PORTNAME} .include "${PORTSDIR}/x11/kde3/Makefile.kde"
PLIST_SUB= BINNAME=${BINNAME} .include <bsd.port.post.mk>
post-install:
cd ${BINDIR}; ${RM} -f ${PORTNAME}; \
${LN} -sf ${BINNAME} ${PORTNAME}
.include <bsd.port.mk>
#EOF

View File

@ -1,6 +1,4 @@
bin/knowit bin/knowit
bin/%%BINNAME%%
bin/knowit
share/applnk/Applications/knowit.desktop share/applnk/Applications/knowit.desktop
share/apps/knowit/tips share/apps/knowit/tips
share/doc/HTML/en/knowit/common 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/ru/LC_MESSAGES/knowit.mo
share/locale/sk/LC_MESSAGES/knowit.mo share/locale/sk/LC_MESSAGES/knowit.mo
share/locale/zh_CN/LC_MESSAGES/knowit.mo share/locale/zh_CN/LC_MESSAGES/knowit.mo
@dirrm share/icons/hicolor/32x32/apps @unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
@dirrm share/icons/hicolor/32x32 @unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
@dirrm share/icons/hicolor/16x16/apps @unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
@dirrm share/icons/hicolor/16x16 @unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
@dirrm share/icons/hicolor @unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
@dirrm share/doc/HTML/en/knowit @dirrm share/doc/HTML/en/knowit
@dirrm share/doc/HTML/en @unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
@dirrm share/doc/HTML @unexec rmdir %D/share/doc/HTML 2>/dev/null || true
@dirrm share/apps/knowit @dirrm share/apps/knowit
@dirrm share/applnk/Applications @unexec rmdir %D/share/applnk/Applications 2>/dev/null || true