OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy. This patch adds the default options specified in the Porter's Handbook to OPTIONS_DEFINE where they are being used. Ports maintained by gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded. Approved by: portmgr (bapt)
29 lines
520 B
Makefile
29 lines
520 B
Makefile
# Created by: Dryice Liu <dryice@liu.com.cn>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyblosxom
|
|
DISTVERSION= 1.5.3
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://pyblosxom.github.io/download/
|
|
|
|
MAINTAINER= jun-g@daemonfreaks.com
|
|
COMMENT= A lightweight weblog system
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_PYTHON= 2
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
NO_STAGE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \. ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|