freebsd-ports/security/py-twofish/Makefile
2004-01-31 03:27:42 +00:00

33 lines
730 B
Makefile

# ex:ts=8
# Ports collection makefile for: py-twofish
# Date created: Feb 9, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= twofish
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= twofish-py
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= twofishmodule-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Twofish cryptographic module for Python
USE_PYTHON= yes
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
do-install:
${INSTALL_DATA} ${WRKSRC}/_twofish.so ${PYTHON_SITELIBDIR}
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>