pkgsrc-wip/PyBabelFish/Makefile
Min Sik Kim 6a5d2ab886 bl3ify.
2004-03-07 01:33:56 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2004/03/07 01:33:56 minskim Exp $
#
DISTNAME= PyBabelPhish-2.0_All_Platforms
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_All_Platforms//}
WRKSRC= ${WRKDIR}/PyBabelPhish-Install
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pythonol/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dotz@irc.pl
HOMEPAGE= http://pythonol.sourceforge.net/
COMMENT= Gtk-based frontend for several translation services on web
USE_BUILDLINK3= yes
PY_PATCHPLIST= yes
NO_CONFIGURE= yes
PYFILES= URLRead.py pybabelfish.py pyfilter.py pytheme.py \
pythonol_festival.py symbolbar.py
TARGET_DIR= ${PREFIX}/${PYSITELIB}/BabelPhish
SCRIPTNAME= pybabelfish
do-build:
cd ${WRKSRC}; \
${ECHO} '#! ${SH}' >${SCRIPTNAME}; \
${ECHO} 'exec ${PYTHONBIN} ${PREFIX}/${PYSITELIB}/BabelPhish/pybabelfish.py' >>${SCRIPTNAME};
do-install:
${INSTALL_DATA_DIR} ${TARGET_DIR}
${INSTALL_DATA_DIR} ${TARGET_DIR}/pixmaps
for a in ${PYFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$$a ${TARGET_DIR}/$$a; \
done
for a in ${WRKSRC}/pixmaps/*; do \
${INSTALL_DATA} $$a ${TARGET_DIR}/pixmaps/`${BASENAME} $$a`; \
done
${INSTALL_SCRIPT} ${WRKSRC}/${SCRIPTNAME} ${PREFIX}/bin
.include "../../lang/python/extension.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"