5c8b7419b2
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
35 lines
943 B
Makefile
35 lines
943 B
Makefile
# New ports collection makefile for: trac-mercurial
|
|
# Date created: January 23, 2009
|
|
# Whom: Brooks Davis <brooks@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
|
|
PORTVERSION= 0.11.0.7
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= brooks
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
|
|
|
MAINTAINER= brooks@freebsd.org
|
|
COMMENT= A plugin to use Mercurial instead of Subversion in Trac
|
|
|
|
RUN_DEPENDS+= hg:${PORTSDIR}/devel/mercurial \
|
|
tracd:${PORTSDIR}/www/trac
|
|
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
|
|
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_PKGNAME= TracMercurial
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
|
|
PYDISTUTILS_NOEGGINFO= yes
|
|
|
|
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
|
|
|
|
do-build:
|
|
@${DO_NADA}
|
|
|
|
.include <bsd.port.mk>
|