aboutsummaryrefslogtreecommitdiff
path: root/www/trac-robotstxt/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-23 19:43:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-23 19:43:53 +0000
commit2af85b0c7915741f6a21c50be1281c4da7285276 (patch)
tree0ee9ef12ea6971a5badbccc3df712c8569018b75 /www/trac-robotstxt/Makefile
parent157899af1ae8d32cacead9c33a44a0944a20a252 (diff)
downloadports-2af85b0c7915741f6a21c50be1281c4da7285276.tar.gz
ports-2af85b0c7915741f6a21c50be1281c4da7285276.zip
Notes
Diffstat (limited to 'www/trac-robotstxt/Makefile')
-rw-r--r--www/trac-robotstxt/Makefile37
1 files changed, 37 insertions, 0 deletions
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>