freebsd-ports/security/py-trustedpickle/Makefile
Baptiste Daroussin 36be6c7cc4 Convert from USE_DOS2UNIX to USES=dos2unix
While here:
- support stage,
- use bsdtar to extract when supported.
- Cleanup
2013-11-19 07:42:41 +00:00

34 lines
986 B
Makefile

# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
# $FreeBSD$
PORTNAME= trustedpickle
PORTVERSION= 0.02
CATEGORIES= security python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TrustedPickle
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= TrustedPickle is a Python (de)Pickler with a way to verify the data
USES= dos2unix
USE_PYTHON= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/TrustedPickle.py \
%%PYTHON_SITELIBDIR%%/TrustedPickle.pyc \
%%PYTHON_SITELIBDIR%%/TrustedPickle.pyo
WRKSRC= ${WRKDIR}/${PORTNAME}
do-build:
@cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import TrustedPickle' && \
${PYTHON_CMD} -c 'import TrustedPickle'
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.py ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyc ${STAGEDIR}${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyo ${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>