1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/www/wadcomblog/Makefile
Vanilla I. Shu 54ed513595 1: Stagify.
2: use options helper.

Approved by:	portmgr@ (blanket approval)
2014-07-02 08:07:14 +00:00

33 lines
855 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
USE_PYTHON= yes
USE_PYDISTUTILS= yes
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>