aboutsummaryrefslogblamecommitdiff
path: root/x11-toolkits/py-SciParam/Makefile
blob: 28e214f4162d3419a084c6c2d3bfc81eb7d763d4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                   
                 









                                                                                  


                           

                      
















                                                                          
# ex:ts=8
# Ports collection makefile for:	py-SciParam
# Date created:			Mar 23, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	SciParam
PORTVERSION=	1.0.1
PORTREVISION=	8
CATEGORIES=	x11-toolkits python
MASTER_SITES=	ftp://ftp.intevation.de/great-er/sciparam/ \
		http://ftp.intevation.de/great-er/sciparam/ \
		ftp://ftp.gwdg.de/pub/misc/freegis/intevation/great-er/sciparam/ \
		http://ftp.gwdg.de/pub/misc/freegis/intevation/great-er/sciparam/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Scientific Parameter Dialogs in wxPython based user interfaces

USE_BZIP2=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
USE_WX=		2.4
WX_COMPS=	python

.if !defined(NOPORTDOCS)
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS=	*
.endif

post-install:
	@${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type f | \
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
	@${FIND} ${PYTHON_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif

.include <bsd.port.mk>