1 |
douglas |
130 |
#!/bin/sh
|
2 |
|
|
# This is a shell archive
|
3 |
|
|
echo x trac-gitplugin
|
4 |
|
|
mkdir -p trac-gitplugin > /dev/null 2>&1
|
5 |
|
|
echo x trac-gitplugin/Makefile
|
6 |
|
|
sed 's/^X//' > trac-gitplugin/Makefile << 'SHAR_END'
|
7 |
|
|
X# New ports collection makefile for: trac-gitplugin
|
8 |
|
|
X# Date created: 2 November 2009
|
9 |
|
|
X# Whom: Douglas Thrift
|
10 |
|
|
X#
|
11 |
|
|
X# $FreeBSD$
|
12 |
|
|
X#
|
13 |
|
|
X
|
14 |
|
|
XPORTNAME= gitplugin
|
15 |
|
|
XPORTVERSION= 0.11.0.2.7034
|
16 |
|
|
XCATEGORIES= www devel python
|
17 |
|
|
XMASTER_SITES= http://code.douglasthrift.net/files/${PORTNAME}/
|
18 |
|
|
XPKGNAMEPREFIX= trac-
|
19 |
|
|
XDISTNAME= ${PORTNAME}-r${PORTVERSION:E}
|
20 |
|
|
X
|
21 |
|
|
XMAINTAINER= douglas@douglasthrift.net
|
22 |
|
|
XCOMMENT= Git plugin for Trac
|
23 |
|
|
X
|
24 |
|
|
XRUN_DEPENDS= git:${PORTSDIR}/devel/git \
|
25 |
|
|
X tracd:${PORTSDIR}/www/trac
|
26 |
|
|
XBUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
27 |
|
|
X
|
28 |
|
|
XUSE_PYTHON= yes
|
29 |
|
|
XUSE_PYDISTUTILS= easy_install
|
30 |
|
|
XUSE_ZIP= yes
|
31 |
|
|
XPYDISTUTILS_PKGNAME= TracGit
|
32 |
|
|
XPYDISTUTILS_PKGVERSION= ${PORTVERSION:R}
|
33 |
|
|
XWRKSRC= ${WRKDIR}/${PORTNAME}/${PORTVERSION:C/(.[0-9]+){3}$//}
|
34 |
|
|
X
|
35 |
|
|
XPLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
36 |
|
|
X
|
37 |
|
|
Xpre-configure:
|
38 |
|
|
X ${CHMOD} -R a+r ${WRKSRC}
|
39 |
|
|
X
|
40 |
|
|
X.include <bsd.port.mk>
|
41 |
|
|
SHAR_END
|
42 |
|
|
echo x trac-gitplugin/distinfo
|
43 |
|
|
sed 's/^X//' > trac-gitplugin/distinfo << 'SHAR_END'
|
44 |
|
|
XMD5 (gitplugin-r7034.zip) = aa97d9343a43be86f1701375f9a90c1d
|
45 |
|
|
XSHA256 (gitplugin-r7034.zip) = 1ece50a8a0870e860af24d6d91da7d6140f0a716ba79856514a6fd8532d152ab
|
46 |
|
|
XSIZE (gitplugin-r7034.zip) = 32645
|
47 |
|
|
SHAR_END
|
48 |
|
|
echo x trac-gitplugin/pkg-descr
|
49 |
|
|
sed 's/^X//' > trac-gitplugin/pkg-descr << 'SHAR_END'
|
50 |
|
|
XGitTrac is a plugin for Trac which enables Git to be used instead of Subversion
|
51 |
|
|
Xas the VersioningSystemBackend for Trac.
|
52 |
|
|
X
|
53 |
|
|
XWWW: http://trac-hacks.org/wiki/GitPlugin
|
54 |
|
|
SHAR_END
|
55 |
|
|
exit
|