aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/knowit
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-02-10 19:39:06 +0800
committeralane <alane@FreeBSD.org>2003-02-10 19:39:06 +0800
commitcb6b357005e8ed6d35d1e29d02f0fbf2eddc72c1 (patch)
tree03f52414ed9eac315d8868fc124cc5e553cf063f /deskutils/knowit
parent6aced52f633144bc32e68a7ba0ce4a1b419c91ea (diff)
downloadfreebsd-ports-graphics-cb6b357005e8ed6d35d1e29d02f0fbf2eddc72c1.tar.gz
freebsd-ports-graphics-cb6b357005e8ed6d35d1e29d02f0fbf2eddc72c1.tar.zst
freebsd-ports-graphics-cb6b357005e8ed6d35d1e29d02f0fbf2eddc72c1.zip
fix for plist and funky binary name from Volker Stolz
Diffstat (limited to 'deskutils/knowit')
-rw-r--r--deskutils/knowit/Makefile6
-rw-r--r--deskutils/knowit/pkg-descr1
-rw-r--r--deskutils/knowit/pkg-plist2
3 files changed, 5 insertions, 4 deletions
diff --git a/deskutils/knowit/Makefile b/deskutils/knowit/Makefile
index 168b50202b2..7183a5c30ca 100644
--- a/deskutils/knowit/Makefile
+++ b/deskutils/knowit/Makefile
@@ -24,10 +24,12 @@ 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 ${CONFIGURE_TARGET}-${PORTNAME} ${PORTNAME}
+ cd ${BINDIR}; ${RM} -f ${PORTNAME}; \
+ ${LN} -sf ${BINNAME} ${PORTNAME}
.include <bsd.port.mk>
#EOF
diff --git a/deskutils/knowit/pkg-descr b/deskutils/knowit/pkg-descr
index e46f3dd4cd8..4613081dba2 100644
--- a/deskutils/knowit/pkg-descr
+++ b/deskutils/knowit/pkg-descr
@@ -6,4 +6,3 @@ any character set.
WWW: http://www.uw.edu.pl/~mrudolf/linux/knowit.html
-- AlanE <alane@freebsd.org>
-
diff --git a/deskutils/knowit/pkg-plist b/deskutils/knowit/pkg-plist
index fb2182c3b43..5f1f234dc66 100644
--- a/deskutils/knowit/pkg-plist
+++ b/deskutils/knowit/pkg-plist
@@ -1,5 +1,5 @@
bin/knowit
-bin/i386-portbld-freebsd4.7-knowit
+bin/%%BINNAME%%
bin/knowit
share/applnk/Applications/knowit.desktop
share/apps/knowit/tips