aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-SciParam/Makefile
blob: 8cc679c7b1eeaba475d72a6d0ade82a1daa95519 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ex:ts=8
# Ports collection makefile for:    py-SciParam
# Date created:         Mar 23, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   SciParam
PORTVERSION=    1.0.1
PORTREVISION=   4
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>