36 lines
820 B
Makefile
36 lines
820 B
Makefile
# $OpenBSD: Makefile,v 1.18 2011/09/16 11:41:39 espie Exp $
|
|
|
|
COMMENT = Python implementation of the Rijndael encryption algorithm
|
|
|
|
MODPY_EGG_VERSION = 1.4
|
|
DISTNAME = pyrijndael-v${MODPY_EGG_VERSION:S/./_/}
|
|
PKGNAME = py-Rijndael-${MODPY_EGG_VERSION}
|
|
REVISION= 2
|
|
CATEGORIES = security devel
|
|
|
|
HOMEPAGE = http://jclement.ca/software/pyrijndael/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
MODULES = lang/python
|
|
|
|
WRKSRC = ${WRKDIR}/pyrijndael
|
|
|
|
do-build:
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${WRKINST}${MODPY_SITEPKG}
|
|
${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${WRKINST}${MODPY_SITEPKG}
|
|
|
|
do-regress:
|
|
@cd ${WRKSRC} && ${MODPY_BIN} ./pyRijndael.py
|
|
|
|
.include <bsd.port.mk>
|