Changeset View
Changeset View
Standalone View
Standalone View
www/py-qpy/Makefile
# Created by: Dryice Liu <dryice@dryice.name> | # Created by: Dryice Liu <dryice@dryice.name> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= qpy | PORTNAME= qpy | ||||
PORTVERSION= 1.8 | PORTVERSION= 1.8 | ||||
PORTREVISION= 1 | PORTREVISION= 1 | ||||
CATEGORIES= www python | CATEGORIES= www python | ||||
MASTER_SITES= http://www.mems-exchange.org/software/qpy/ \ | MASTER_SITES= http://www.mems-exchange.org/software/qpy/ \ | ||||
LOCAL/sunpoet | LOCAL/sunpoet | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= sunpoet@FreeBSD.org | MAINTAINER= sunpoet@FreeBSD.org | ||||
COMMENT= Generating safely-quoted html text from python code | COMMENT= Generating safely-quoted html text from python code | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options | |||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
USES= python:2 | USES= python:2 | ||||
PORTDOCS= CHANGES.txt LICENSE.txt README.txt | PORTDOCS= CHANGES.txt LICENSE.txt README.txt | ||||
post-build: | post-build: | ||||
@${STRIP_CMD} ${WRKSRC}/build/lib.*/qpy/quoted.so | @${STRIP_CMD} ${WRKSRC}/build/lib.*/qpy/quoted.so | ||||
post-install: | post-install: | ||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/ | ${MKDIR} ${STAGEDIR}${DOCSDIR}/ | ||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ | cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |