diff options
Diffstat (limited to 'textproc/pyDict/Makefile')
-rw-r--r-- | textproc/pyDict/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/textproc/pyDict/Makefile b/textproc/pyDict/Makefile new file mode 100644 index 00000000000..9a16329449e --- /dev/null +++ b/textproc/pyDict/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/15 09:54:02 shell Exp $ + +DISTNAME= pyDict-0.2.5.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pydict/} + +MAINTAINER= rxg@netbsd.org +HOMEPAGE= http://sourceforge.net/projects/pydict/ +COMMENT= Chinese <-> English dictionary, under both console and X11 + +USE_X11BASE= yes + +WRKSRC= ${WRKDIR}/dict +NO_CONFIGURE= yes +NO_BUILD= yes + +PYTHON_PATCH_SCRIPTS= dict.py + +post-patch: + ${SED} -e 's:/bin/grep:'${GREP}':g' < ${WRKSRC}/dict.py > ${WRKSRC}/dict.py.tmp + ${SED} -e 's:/usr/X11R6:'${PREFIX}':g' < ${WRKSRC}/dict.py.tmp > ${WRKSRC}/dict.py + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/pyDict + ${INSTALL_DATA} ${WRKSRC}/[a-z].lib ${WRKSRC}/dict.xpm ${WRKSRC}/yaba.xpm ${WRKSRC}/HELP ${PREFIX}/lib/X11/pyDict + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pyDict + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/COPYING ${WRKSRC}/README ${PREFIX}/share/doc/pyDict + ${INSTALL_SCRIPT} ${WRKSRC}/dict.py ${PREFIX}/bin/pydict + +.include "../../lang/python/application.buildlink.mk" +.include "../../x11/pygtk/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |