7a1b5dd15a
- Strip libraries
28 lines
643 B
Makefile
28 lines
643 B
Makefile
# Created by: Radek Kozlowski <radek@raadradd.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pychm
|
|
PORTVERSION= 0.8.4
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= SF/gnochm/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Bindings for CHMLIB library
|
|
|
|
LICENSE= GPLv2 # or later
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib
|
|
|
|
NO_BUILD= yes
|
|
USES= python
|
|
USE_PYTHON= 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>
|