aboutsummaryrefslogtreecommitdiffstats
path: root/www/trac-math/Makefile
blob: 6dc13de95a65bfd598b16f1bcd30621ce788a74f (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
# $FreeBSD$

PORTNAME=   math
PORTVERSION=    0.1
PORTREVISION=   7
CATEGORIES= www math python
MASTER_SITES=   LOCAL/brooks
PKGNAMEPREFIX=  trac-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Support for LaTeX math formulas in wiki pages

RUN_DEPENDS+=   tracd:www/trac

USE_TEX=    latex
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

USES=       python:2
USE_PYTHON= distutils autoplist

# Maintainter targets below this point

# Retrieve the latest version from SVN and package in a tarball.
.if defined(BOOTSTRAP)
FETCH_DEPENDS+= svn:devel/subversion
do-fetch:
    ${MKDIR} ${WRKDIR}
    cd ${WRKDIR} && \
        svn export http://trac-hacks.org/svn/tracmathplugin/ \
        ${DISTNAME}
    cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
.endif

.include "${.CURDIR}/../../www/trac/plugin.mk"
.include <bsd.port.mk>