Serve a robots.txt file from Trac. Mostly useful to tracd users,
but works on anything. Just put the data you want in the wiki page RobotsTxt. WWW: http://trac-hacks.org/wiki/RobotsTxtPlugin
This commit is contained in:
parent
157899af1a
commit
2af85b0c79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188116
5 changed files with 48 additions and 0 deletions
|
@ -1112,6 +1112,7 @@
|
|||
SUBDIR += trac-nav
|
||||
SUBDIR += trac-pagetopdf
|
||||
SUBDIR += trac-privatetickets
|
||||
SUBDIR += trac-robotstxt
|
||||
SUBDIR += trac-tags
|
||||
SUBDIR += trac-webadmin
|
||||
SUBDIR += trac-wikinotification
|
||||
|
|
37
www/trac-robotstxt/Makefile
Normal file
37
www/trac-robotstxt/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
|||
# New ports collection makefile for: trac-robotxt
|
||||
# Date created: 03. 23, 2007
|
||||
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= robotxt
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= www devel python
|
||||
MASTER_SITES= http://freebsd.unixfreunde.de/sources/trac/
|
||||
PKGNAMEPREFIX= trac-
|
||||
DISTNAME= TracRobotsTxt-${PORTVERSION}
|
||||
|
||||
MAINTAINER= miwi@FreeBSD.org
|
||||
COMMENT= Allows simple management of a robots.txt.
|
||||
|
||||
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
|
||||
RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
|
||||
tracd:${PORTSDIR}/www/trac
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
|
||||
|
||||
PYDISTUTILS_BUILD_TARGET= bdist_egg
|
||||
PYDISTUTILS_INSTALL_TARGET= easy_install
|
||||
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACROBO_EGG}
|
||||
|
||||
TRACROBO_EGG= TracRobotsTxt-${PORTVERSION}-py${PYTHON_VER}.egg
|
||||
|
||||
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
|
||||
TRACROBO_EGG=${TRACROBO_EGG} \
|
||||
TRACROBO_EGG_VER="TracROBO==${PORTVERSION}"
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/trac-robotstxt/distinfo
Normal file
3
www/trac-robotstxt/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (TracRobotsTxt-1.0.1.tar.gz) = 10129a399bf771f4778f06dbd0ce8634
|
||||
SHA256 (TracRobotsTxt-1.0.1.tar.gz) = 78509402045cc60d38a0ef630ebdda46a69449be0d08e5807588367d6be289b9
|
||||
SIZE (TracRobotsTxt-1.0.1.tar.gz) = 1555
|
4
www/trac-robotstxt/pkg-descr
Normal file
4
www/trac-robotstxt/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
Serve a robots.txt file from Trac. Mostly useful to tracd users,
|
||||
but works on anything. Just put the data you want in the wiki page RobotsTxt.
|
||||
|
||||
WWW: http://trac-hacks.org/wiki/RobotsTxtPlugin
|
3
www/trac-robotstxt/pkg-plist
Normal file
3
www/trac-robotstxt/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACROBO_EGG_VER%%
|
||||
%%PYTHON_SITELIBDIR%%/%%TRACROBO_EGG%%
|
||||
@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACROBO_EGG_VER%%
|
Loading…
Reference in a new issue