freebsd-ports/databases/gadfly/Makefile
Dmitry Marakasov 21eca32849 - Add NO_ARCH
- Switch to options helpers
- Unsilence installation
2015-12-10 21:29:07 +00:00

33 lines
889 B
Makefile

# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
PORTNAME= gadfly
PORTVERSION= 1.0.0
PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= SQL database written in Python
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/kjbuckets.so:${PORTSDIR}/devel/py-kjbuckets
USES= python:2
USE_PYTHON= distutils autoplist
NO_ARCH= yes
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/kjParsing
${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
${STAGEDIR}${EXAMPLESDIR}/kjParsing
.include <bsd.port.mk>