# Created by: Dryice Liu <dryice@liu.com.cn>
# $FreeBSD: tags/RELEASE_11_1_0/www/pyblosxom/Makefile 439091 2017-04-21 16:23:17Z miwi $

PORTNAME=	pyblosxom
DISTVERSION=	1.5.3
PORTREVISION=	1
CATEGORIES=	www python
MASTER_SITES=	http://pyblosxom.github.io/download/

MAINTAINER=	jun-g@daemonfreaks.com
COMMENT=	Lightweight weblog system

LICENSE=	MIT

USES=		python:2 shebangfix
USE_PYTHON=	distutils
SHEBANG_FILES=	Pyblosxom/data/pyblosxom.cgi

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \. ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>
