1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/chinese/pyDict/Makefile
Mark Linimon 8cf8875aef Reset bouncing maintainer address. These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
2005-07-25 21:58:10 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: pyDict
# Date created: 25 Oct 1999
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pyDict
PORTVERSION= 0.2.6.3
PORTREVISION= 1
CATEGORIES= chinese
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/pyDict/
MAINTAINER= ports@FreeBSD.org
COMMENT= A Chinese <-> English dictionary, under both console and X11
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
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}
@${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>