Lines 6-36
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gitplugin |
8 |
PORTNAME= gitplugin |
9 |
PORTVERSION= 0.12.0.2.7757 |
9 |
PORTVERSION= 0.12.0.5 |
10 |
CATEGORIES= www devel python |
10 |
CATEGORIES= www devel python |
11 |
MASTER_SITES= http://apt.douglasthrift.net/files/${PORTNAME}/ \ |
11 |
MASTER_SITES= https://download.github.com/ \ |
|
|
12 |
http://apt.douglasthrift.net/files/${PORTNAME}/ \ |
12 |
http://code.douglasthrift.net/files/${PORTNAME}/ |
13 |
http://code.douglasthrift.net/files/${PORTNAME}/ |
13 |
PKGNAMEPREFIX= trac- |
14 |
PKGNAMEPREFIX= trac- |
14 |
DISTNAME= ${PORTNAME}-r${PORTVERSION:E} |
15 |
DISTNAME= hvr-trac-git-plugin-v${PORTVERSION}-15-g${GITPLUGIN_HASH} |
15 |
|
16 |
|
16 |
MAINTAINER= douglas@douglasthrift.net |
17 |
MAINTAINER= douglas@douglasthrift.net |
17 |
COMMENT= Git plugin for Trac |
18 |
COMMENT= Git plugin for Trac |
18 |
|
19 |
|
19 |
RUN_DEPENDS= git:${PORTSDIR}/devel/git \ |
20 |
RUN_DEPENDS= git:${PORTSDIR}/devel/git \ |
20 |
tracd:${PORTSDIR}/www/trac |
21 |
tracd:${PORTSDIR}/www/trac |
21 |
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools |
22 |
|
22 |
LICENSE= GPLv2 |
23 |
LICENSE= GPLv2 |
23 |
|
24 |
|
24 |
USE_PYTHON= yes |
25 |
USE_PYTHON= yes |
25 |
USE_PYDISTUTILS= easy_install |
26 |
USE_PYDISTUTILS= easy_install |
26 |
USE_ZIP= yes |
|
|
27 |
PYDISTUTILS_PKGNAME= TracGit |
27 |
PYDISTUTILS_PKGNAME= TracGit |
28 |
PYDISTUTILS_PKGVERSION= ${PORTVERSION:R}dev |
28 |
PYDISTUTILS_PKGVERSION= ${PORTVERSION}dev |
29 |
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTVERSION:C/(.[0-9]+){3}$//} |
29 |
WRKSRC= ${WRKDIR}/hvr-trac-git-plugin-${GITPLUGIN_HASH} |
30 |
|
30 |
|
31 |
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |
31 |
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |
32 |
|
32 |
|
33 |
post-extract: |
33 |
GITPLUGIN_HASH= 2c21931 |
34 |
${CHMOD} -R a+r ${WRKSRC} |
|
|
35 |
|
34 |
|
36 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |