mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
f7455240e3
PR: 225752 Submitted by: Yasuhiro KIMURA
30 lines
651 B
Makefile
30 lines
651 B
Makefile
# Created by: Radek Kozlowski <radek@raadradd.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pychm
|
|
PORTVERSION= 0.8.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= SF/gnochm/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Bindings for CHMLIB library
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libchm.so:misc/chmlib
|
|
|
|
NO_BUILD= yes
|
|
USES= python:2.7
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS} build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/chm/*.so
|
|
|
|
.include <bsd.port.post.mk>
|