aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-wysiwyg/Makefile
blob: 6e4b87820cc5fe81fbd9fb8871b2cbb6c8e6259a (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
# New ports collection makefile for: trac-wysiwyg
# Date created:                      Jan 11 2008
# Whom:                              Greg Larkin <glarkin@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   wysiwyg
PORTVERSION=    0.2.7848
PORTREVISION=   1
CATEGORIES= www devel python
MASTER_SITES=   http://www.sourcehosting.net/freebsd/distfiles/ \
        LOCAL/glarkin
PKGNAMEPREFIX=  trac-
DISTNAME=   ${PORTNAME}plugin-${PORTVERSION}

MAINTAINER= glarkin@FreeBSD.org
COMMENT=    WYSIWYG editor for Trac wiki

RUN_DEPENDS+=   tracd:${PORTSDIR}/www/trac

USE_ZIP=    yes

WRKSRC=     ${WRKDIR}/trac${PORTNAME}plugin/0.11
USE_PYTHON= 2.5+
USE_PYDISTUTILS=    easy_install
PYDISTUTILS_PKGNAME=    TracWysiwyg
PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}
PLIST_SUB+= EGGVERSION=${PORTVERSION:R} PYTHONVERSION=${_PYTHON_VERSION}
PYDISTUTILS_NOEGGINFO=  yes
PLIST_FILES=    %%PYTHON_SITELIBDIR%%/TracWysiwyg-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>