aboutsummaryrefslogtreecommitdiff
path: root/www/wadcomblog/Makefile
blob: a9537b94d10060ed49a06b18dd42f5950cf8f566 (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
# New ports collection makefile for:	wadcomblog
# Date created:		2008-10-09
# Whom:			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

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

post-install:
.if !defined(NOPORTDOCS)
	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif

.if !defined(NOPORTEXAMPLES)
	@${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
	@${MKDIR} ${EXAMPLESDIR}
	@(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>