aboutsummaryrefslogblamecommitdiff
path: root/databases/py-PyGreSQL/Makefile
blob: e8246e3a5c6d031bf40139385b4533e4f6de4f04 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                
           
 
                        
                     
                 
                                

                                                
                                       
 
                               
                                                                           
 


                            
                                   
 
                 
 

                    
             
                                                                 
                                       
                                                                         

                      
# Created by: nectar@FreeBSD.org
# $FreeBSD$

PORTNAME=	PyGreSQL
PORTVERSION=	5.0.6
PORTEPOCH=	1
CATEGORIES=	databases python
MASTER_SITES=	http://www.pygresql.org/files/ \
		CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	wen@FreeBSD.org
COMMENT=	Python interface to PostgreSQL, both classic and DP-API 2.0

LICENSE=	PSFL

USES=		pgsql python
USE_PYTHON=	autoplist distutils

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pg.so
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>