aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-twofish/Makefile
blob: 5806eb04d3509142aa28d2b267e9e3b1fe8acd52 (plain) (blame)
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
34
35
36
37
# ex:ts=8
# Ports collection makefile for:    py-twofish
# Date created:         Feb 9, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   twofish
PORTVERSION=    0.7
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

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile"
.endif

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.post.mk>