aboutsummaryrefslogblamecommitdiff
path: root/textproc/pybook/Makefile
blob: 2d732d13dcdb0a8a2cda27208aacb4a2620aa3c4 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                              
                    
                               
                                           

                                 
                                                  
 
                   
                   
                           

           
                                                                     
 
             
                                                              


                                                                  

                      
# ex:ts=8
# Ports collection makefile for:	pybook
# Date created:			Jan 27, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	pybook
PORTVERSION=	0.8c
CATEGORIES=	textproc python
MASTER_SITES=	http://silmarill.org/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A Project Gutenberg e-texts reader

USE_REINPLACE=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

post-patch:
	@${REINPLACE_CMD} -e "s,python2,python,g" ${WRKSRC}/pybook.py

post-install:
	@${MV} -f ${PREFIX}/bin/pybook.py ${PREFIX}/bin/pybook
	${MKDIR} ${PREFIX}/share/pybook
	${INSTALL_DATA} ${WRKSRC}/booklist ${PREFIX}/share/pybook/
	${INSTALL_DATA} ${WRKSRC}/vimrc ${PREFIX}/share/pybook/

.include <bsd.port.mk>