3f5edbeda2
From pkg-descr: pyDict is a Chinese(Big5) <-> English dictionary, written in Python. It can be used as a console app or X11 window(with -x option). The data is prepared by TurboLinux in simplified Chinese, then converted to traditional Chinese by CLE(Chinese Linux Extension) team. PR: ports/14643 Submitted by: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: pyDict
|
|
# Date created: 25 Oct 1999
|
|
# Whom: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pyDict
|
|
PORTVERSION= 0.2.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= chinese
|
|
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
|
|
DISTNAME= pyDict-0.2.5.1
|
|
|
|
MAINTAINER= keith@freebsd.sinica.edu.tw
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/include/pygtk/pygtk.h:${PORTSDIR}/x11-toolkits/py-gtk \
|
|
${X11BASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
WRKSRC= ${WRKDIR}/dict
|
|
NO_BUILD= yes
|
|
SHAREMODE= 644
|
|
DICTDIR= ${PREFIX}/lib/X11/pyDict
|
|
DOCDIR= ${PREFIX}/share/doc/pyDict
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
@${MKDIR} ${DICTDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/[a-z].lib ${WRKSRC}/dict.xpm ${WRKSRC}/yaba.xpm ${WRKSRC}/HELP ${DICTDIR}
|
|
@${INSTALL_DATA} ${FILESDIR}/gtkrc.zh_TW.big5.sample ${DICTDIR}
|
|
@${MKDIR} ${DOCDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/COPYING ${WRKSRC}/README ${DOCDIR}
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/dict.py ${PREFIX}/bin/pydict
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|