mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1b0994ee1e
With hat: python@
33 lines
854 B
Makefile
33 lines
854 B
Makefile
# 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>
|