diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-24 03:43:53 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-24 03:43:53 +0800 |
commit | baede620142ecbf5e10b7c3c8d10727d2d59dcd7 (patch) | |
tree | a6dbda1428a5b80ef998a005668f66a0e53fcc75 | |
parent | f3a912b92d7d132b1f382aa3d2c2db4e49b35aff (diff) | |
download | freebsd-ports-gnome-baede620142ecbf5e10b7c3c8d10727d2d59dcd7.tar.gz freebsd-ports-gnome-baede620142ecbf5e10b7c3c8d10727d2d59dcd7.tar.zst freebsd-ports-gnome-baede620142ecbf5e10b7c3c8d10727d2d59dcd7.zip |
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
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/trac-robotstxt/Makefile | 37 | ||||
-rw-r--r-- | www/trac-robotstxt/distinfo | 3 | ||||
-rw-r--r-- | www/trac-robotstxt/pkg-descr | 4 | ||||
-rw-r--r-- | www/trac-robotstxt/pkg-plist | 3 |
5 files changed, 48 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index e8e2a10e53c0..ca9af6a37a83 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/trac-robotstxt/Makefile b/www/trac-robotstxt/Makefile new file mode 100644 index 000000000000..f23e43dfc781 --- /dev/null +++ b/www/trac-robotstxt/Makefile @@ -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> diff --git a/www/trac-robotstxt/distinfo b/www/trac-robotstxt/distinfo new file mode 100644 index 000000000000..638f4fb35572 --- /dev/null +++ b/www/trac-robotstxt/distinfo @@ -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 diff --git a/www/trac-robotstxt/pkg-descr b/www/trac-robotstxt/pkg-descr new file mode 100644 index 000000000000..1d3f0ecd9385 --- /dev/null +++ b/www/trac-robotstxt/pkg-descr @@ -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 diff --git a/www/trac-robotstxt/pkg-plist b/www/trac-robotstxt/pkg-plist new file mode 100644 index 000000000000..2708963e692d --- /dev/null +++ b/www/trac-robotstxt/pkg-plist @@ -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%% |