mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
88105659c5
PR: ports/138733 Submitted by: Vladimir Korkodinov <viper@perm.raid.ru> Approved by: Martin Jackson <mhjacks@swbell.net> (maintainer) Feature safe: yes
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# 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.9a
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}-devel/${PORTVERSION}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= mhjacks@swbell.net
|
|
COMMENT= ASN.1 toolkit for Python
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
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>
|