21a283f3be
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
29 lines
659 B
Makefile
29 lines
659 B
Makefile
# Created by: Dryice Liu <dryice@dryice.name>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qpy
|
|
PORTVERSION= 1.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://www.mems-exchange.org/software/qpy/ \
|
|
LOCAL/sunpoet
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Generating safely-quoted html text from python code
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
USES= python:2
|
|
|
|
PORTDOCS= CHANGES.txt LICENSE.txt README.txt
|
|
|
|
post-build:
|
|
@${STRIP_CMD} ${WRKSRC}/build/lib.*/qpy/quoted.so
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|