aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/pyDict/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-05-10 17:47:23 +0800
committervanilla <vanilla@FreeBSD.org>2003-05-10 17:47:23 +0800
commit9e774a31bfcb5a8bc37fb423f677f4b369ad1a61 (patch)
tree0f2a903cba2299b4e431eb1050aef71e3d6efdc8 /chinese/pyDict/Makefile
parent25fc4fb2abcb9dc583a686433512ae6c8a25bf49 (diff)
downloadfreebsd-ports-gnome-9e774a31bfcb5a8bc37fb423f677f4b369ad1a61.tar.gz
freebsd-ports-gnome-9e774a31bfcb5a8bc37fb423f677f4b369ad1a61.tar.zst
freebsd-ports-gnome-9e774a31bfcb5a8bc37fb423f677f4b369ad1a61.zip
o update to 0.2.6.3
o remove files/patch-aa o make prefix clean o change MASTER_SITES o add author's WWW PR: ports/51950 Submitted by: Statue <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese/pyDict/Makefile')
-rw-r--r--chinese/pyDict/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/chinese/pyDict/Makefile b/chinese/pyDict/Makefile
index d750f07c1d61..280a7080ae2f 100644
--- a/chinese/pyDict/Makefile
+++ b/chinese/pyDict/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= pyDict
-PORTVERSION= 0.2.5
-PORTREVISION= 1
+PORTVERSION= 0.2.6.3
CATEGORIES= chinese
-MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
-DISTNAME= pyDict-0.2.5.1
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/pyDict/
MAINTAINER= keith@FreeBSD.org
COMMENT= A Chinese <-> English dictionary, under both console and X11
@@ -25,9 +23,15 @@ NO_BUILD= yes
SHAREMODE= 644
DICTDIR= ${PREFIX}/lib/X11/pyDict
DOCDIR= ${PREFIX}/share/doc/pyDict
+USE_REINPLACE= yes
.include <bsd.port.pre.mk>
+do-patch:
+ ${REINPLACE_CMD} -e 's,/bin/grep,${GREP},g' \
+ -e 's,--after-context=20,-A 20,g' \
+ -e 's,/usr/X11R6,${PREFIX},g' ${WRKSRC}/dict.py
+
do-install:
@${MKDIR} ${DICTDIR}
@${INSTALL_DATA} ${WRKSRC}/[a-z].lib ${WRKSRC}/dict.xpm ${WRKSRC}/yaba.xpm ${WRKSRC}/HELP ${DICTDIR}