mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
40 lines
853 B
Makefile
40 lines
853 B
Makefile
# New ports collection makefile for: pydasm
|
|
# Date created: 23 March 2006
|
|
# Whom: antoine.brodin@laposte.net
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pydasm
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.klake.org/~jt/misc/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= libdasm-${PORTVERSION}
|
|
|
|
MAINTAINER= antoine.brodin@laposte.net
|
|
COMMENT= A python interface to libdasm
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
PYDISTUTILS_PKGVERSION= 1.2
|
|
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
PLIST_SUB+= EXAMPLES=""
|
|
.else
|
|
PLIST_SUB+= EXAMPLES="@comment "
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(WITHOUT_EXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/das.py ${EXAMPLESDIR}
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|