summaryrefslogtreecommitdiffstats
path: root/security/py-twofish/Makefile
blob: aa168c1c206fcc22c9575a117faff59c90f0e606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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>
OpenPOWER on IntegriCloud