2007-09-15 19:29:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/09/15 23:30:00 merdely Exp $
|
2002-01-05 17:08:02 -05:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= Python implementation of the Rijndael encryption algorithm
|
2002-01-05 17:08:02 -05:00
|
|
|
|
2004-02-04 02:38:59 -05:00
|
|
|
VERSION= 1.3
|
|
|
|
DISTNAME= pyrijndael-${VERSION}-src
|
2006-06-03 05:19:52 -04:00
|
|
|
PKGNAME= py-Rijndael-${VERSION}p0
|
2002-01-05 17:08:02 -05:00
|
|
|
CATEGORIES= security devel
|
|
|
|
|
2003-08-29 16:34:54 -04:00
|
|
|
HOMEPAGE= http://jclement.ca/software/pyrijndael/
|
|
|
|
|
2003-06-14 05:44:20 -04:00
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2002-01-05 17:08:02 -05:00
|
|
|
|
2003-08-22 02:14:39 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2002-01-05 17:08:02 -05:00
|
|
|
|
2004-08-03 17:31:06 -04:00
|
|
|
MODULES= lang/python
|
2002-01-05 17:08:02 -05:00
|
|
|
|
2004-02-04 02:38:59 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
2002-01-05 17:08:02 -05:00
|
|
|
|
|
|
|
do-build:
|
2003-08-29 16:34:54 -04:00
|
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKSRC}
|
2002-01-05 17:08:02 -05:00
|
|
|
|
|
|
|
do-install:
|
2004-05-15 05:25:17 -04:00
|
|
|
${INSTALL_DATA_DIR} ${WRKINST}${MODPY_SITEPKG}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${WRKINST}${MODPY_SITEPKG}
|
2002-01-05 17:08:02 -05:00
|
|
|
|
|
|
|
do-regress:
|
2003-08-29 16:34:54 -04:00
|
|
|
@cd ${WRKSRC} && ${MODPY_BIN} ./pyRijndael.py
|
2002-01-05 17:08:02 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|