2009-01-02 08:07:36 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2009/01/02 13:07:37 djm Exp $
|
2006-08-10 16:26:32 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2006-07-02 12:54:24 -04:00
|
|
|
|
2007-09-15 19:54:16 -04:00
|
|
|
COMMENT= text reader and catalog browser for Project Gutenberg
|
2006-07-02 12:54:24 -04:00
|
|
|
|
2006-07-30 11:19:28 -04:00
|
|
|
DISTNAME= gutenpy-0.3.0
|
2009-01-02 08:07:36 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2006-07-02 12:54:24 -04:00
|
|
|
CATEGORIES= misc x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://gutenpy.sourceforge.net/
|
|
|
|
|
2006-11-16 03:50:54 -05:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
2006-07-02 12:54:24 -04:00
|
|
|
|
2008-09-26 04:20:45 -04:00
|
|
|
# GPLv2
|
2006-07-02 12:54:24 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gutenpy/}
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= :py-xml-*:textproc/py-xml \
|
|
|
|
:py-gtk2->=2.6.3:x11/py-gtk2
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
LIB_DIR= ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/GutenPy
|
|
|
|
|
|
|
|
do-configure:
|
2006-07-30 11:19:28 -04:00
|
|
|
@perl -pi -e 's,!!PYTHON!!,${MODPY_BIN},' ${WRKSRC}/gutenpy.py
|
2006-07-02 12:54:24 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gutenpy.py ${PREFIX}/bin/gutenpy
|
|
|
|
${INSTALL_DATA_DIR} ${LIB_DIR}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gutenpy
|
2006-07-30 11:19:28 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/gutenpy
|
2006-07-02 12:54:24 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/GutenPy/* ${LIB_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/gutenpy/
|
2006-07-30 11:19:28 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/* ${PREFIX}/share/pixmaps/gutenpy/
|
2006-07-02 12:54:24 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|