mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
19039fb2e1
+# LICENSE: http://www.bluesine.com/license.html PR: 37901 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
35 lines
770 B
Makefile
35 lines
770 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: py-rijndael
|
|
# Date created: Jul 23, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rijndael
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= http://ftp.bluesine.com/pub/bluesine.com/python-mods/rijndael/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pyRijndael-${PORTVERSION}.py
|
|
EXTRACT_SUFX= .gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
EXTRACT_AFTER_ARGS= > ${DISTNAME}
|
|
USE_PYTHON= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC}/${DISTNAME} ${WRKSRC}/pyRijndael.py
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -c 'import pyRijndael'
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -O -c 'import pyRijndael'
|
|
|
|
do-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${PYTHON_SITELIBDIR}
|
|
|
|
.include <bsd.port.mk>
|