summaryrefslogtreecommitdiffstats
path: root/www/wadcomblog/Makefile
blob: e91d9542218f347c27e6d5b06ccccc7c48d61a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Julien Laffaye <kimelto@gmail.com>
# $FreeBSD$

PORTNAME=	WadcomBlog
PORTVERSION=	0.3
CATEGORIES=	www python
MASTER_SITES=	http://laffaye.free.fr/distfiles/ \
		http://vss.73rus.com/wadcomblog/files/

MAINTAINER=	jlaffaye@FreeBSD.org
COMMENT=	Simple open-source static blog engine written in Python

USES=		python
USE_PYTHON=	distutils
OPTIONS_DEFINE=	DOCS EXAMPLES

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif

.if ${PORT_OPTIONS:MEXAMPLES}
	@${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	@(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud