blob: 0b129f49b7fbfae4329d14139522fc42e6f6f41f (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: py-pyasn1
# Date created: Sat Apr 8 21:37:32 CDT 2006
# Whom: Martin Jackson <mhjacks@swbell.net>
#
# $FreeBSD$
#
PORTNAME= asn1
PORTVERSION= 0.0.8a
CATEGORIES= devel python
MASTER_SITES= SF
MASTER_SITE_SUBDIR= py${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= mhjacks@swbell.net
COMMENT= ASN.1 toolkit for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyasn1
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
BASEDOCS= CHANGES \
README \
LICENSE \
TODO
DOCDOCS= notes.html
EXAMPLE_FILES= snmp.py \
sshkey.py \
x509.py
post-install:
# docs
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for f in ${BASEDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
. for f in ${DOCDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
. endfor
.endif
# examples
@${MKDIR} ${EXAMPLESDIR}
.for f in ${EXAMPLE_FILES}
@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
|