1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/py-twofish/Makefile

27 lines
688 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= twofish
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= SF/${PORTNAME}-py/${PORTNAME}-py/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= twofishmodule-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Twofish cryptographic module for Python
USE_PYTHON= 2
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/_twofish.so ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${PYTHON_SITELIBDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>