openbsd-ports/news/py-yenc/Makefile

41 lines
924 B
Makefile
Raw Normal View History

2011-11-01 12:36:10 -04:00
# $OpenBSD: Makefile,v 1.8 2011/11/01 16:36:10 jasper Exp $
COMMENT= yEnc encoding/decoding extension for Python
DISTNAME= yenc-0.3
2010-07-24 13:43:17 -04:00
PKGNAME= py-${DISTNAME}
2011-11-01 12:36:10 -04:00
REVISION = 4
CATEGORIES= news
HOMEPAGE= http://www.hellanzb.com/
MASTER_SITES= ${HOMEPAGE}hellanzb-content/
MAINTAINER= Mikko Tolmunen <oskari@sefirosu.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
2011-11-01 12:36:10 -04:00
WANTLIB= ${MODPY_WANTLIB}
2010-11-20 04:48:38 -05:00
REGRESS_DEPENDS= news/py-yenc
CFLAGS+= -g -O2
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-yenc
${INSTALL_DATA} ${WRKSRC}/{README,doc/yenc-draft.1.3.txt} \
${PREFIX}/share/doc/py-yenc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-yenc
cd ${WRKSRC}/examples; tar -cf - * | \
(cd ${PREFIX}/share/examples/py-yenc; tar -xf -)
do-regress:
cd ${WRKSRC}/test && ${MODPY_BIN} test.py
.include <bsd.port.mk>