aboutsummaryrefslogtreecommitdiff
path: root/www/wadcomblog/Makefile
blob: 65699d3032be07b9b22e37edc3fc5309311520c0 (plain) (blame)
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
33
34
35
# 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=	ports@FreeBSD.org
COMMENT=	Simple open-source static blog engine written in Python

DEPRECATED=	Uses deprecated version of python
EXPIRATION_DATE=	2020-09-15

USES=		python:2.7
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>