| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | NAME = Trac |
|---|
| 4 | VERSION = 0.12.2 |
|---|
| 5 | CATEGORIES = python |
|---|
| 6 | GARTYPE = v2 |
|---|
| 7 | |
|---|
| 8 | DESCRIPTION = Integrated SCM and Project Management |
|---|
| 9 | define BLURB |
|---|
| 10 | Trac is an enhanced wiki and issue tracking system for software development |
|---|
| 11 | projects. Trac uses a minimalistic approach to web-based software project |
|---|
| 12 | management. Our mission; to help developers write great software while |
|---|
| 13 | staying out of the way. Trac should impose as little as possible on a team's |
|---|
| 14 | established development process and policies. |
|---|
| 15 | endef |
|---|
| 16 | |
|---|
| 17 | MASTER_SITES = http://ftp.edgewall.com/pub/trac/ |
|---|
| 18 | SPKG_SOURCEURL = http://trac.edgewall.org/wiki/TracDownload |
|---|
| 19 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 20 | UFILES_REGEX = (\d+(?:\.\d+)*).tar.gz |
|---|
| 21 | |
|---|
| 22 | PACKAGES = CSWtrac |
|---|
| 23 | RUNTIME_DEP_PKGS_CSWtrac = CSWpysetuptools CSWpythonsvn CSWgenshi |
|---|
| 24 | ARCHALL_CSWtrac = 1 |
|---|
| 25 | |
|---|
| 26 | CATALOGNAME_CSWtrac = trac |
|---|
| 27 | SPKG_DESC_CSWtrac = Integrated SCM and Project Management |
|---|
| 28 | |
|---|
| 29 | CHECKPKG_OVERRIDES_CSWtrac += pkgname-does-not-start-with-CSWpy- |
|---|
| 30 | CHECKPKG_OVERRIDES_CSWtrac += catalogname-does-not-start-with-py_ |
|---|
| 31 | CHECKPKG_OVERRIDES_CSWtrac += surplus-dependency|CSWpysetuptools |
|---|
| 32 | CHECKPKG_OVERRIDES_CSWtrac += surplus-dependency|CSWgenshi |
|---|
| 33 | CHECKPKG_OVERRIDES_CSWtrac += surplus-dependency|CSWpythonsvn |
|---|
| 34 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/share/doc/trac/contrib/bugzilla2trac.py |
|---|
| 35 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/share/doc/trac/contrib/trac-svn-hook |
|---|
| 36 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracModPython |
|---|
| 37 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracPlugins |
|---|
| 38 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracModWSGI |
|---|
| 39 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracFineGrainedPermissions |
|---|
| 40 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracInstall |
|---|
| 41 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/share|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracModPython |
|---|
| 42 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/share|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracFastCgi |
|---|
| 43 | CHECKPKG_OVERRIDES_CSWtrac += file-with-bad-content|/usr/share|root/opt/csw/lib/python/site-packages/trac/wiki/default-pages/TracInstall |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | TEST_SCRIPTS = |
|---|
| 47 | |
|---|
| 48 | include gar/category.mk |
|---|
| 49 | |
|---|
| 50 | post-install-modulated: copy-docs |
|---|
| 51 | @$(DONADA) |
|---|
| 52 | |
|---|
| 53 | copy-docs: |
|---|
| 54 | @install -d $(DESTDIR)$(docdir)/trac |
|---|
| 55 | @cp -R $(WORKSRC)/contrib $(DESTDIR)$(docdir)/trac |
|---|
| 56 | @for f in COPYING ChangeLog INSTALL README README.tracd UPGRADE ; do \ |
|---|
| 57 | ginstall -m 0644 $(WORKSRC)/$$f $(DESTDIR)$(docdir)/trac ; \ |
|---|
| 58 | done |
|---|
| 59 | @$(DONADA) |
|---|
| 60 | |
|---|