2006-04-04 19:42:48 +02:00
|
|
|
# New ports collection makefile for: pydasm
|
|
|
|
# Date created: 23 March 2006
|
|
|
|
# Whom: antoine.brodin@laposte.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pydasm
|
2008-02-29 05:36:52 +01:00
|
|
|
PORTVERSION= 1.5
|
2006-04-04 19:42:48 +02:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= http://www.klake.org/~jt/misc/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= libdasm-${PORTVERSION}
|
|
|
|
|
2008-02-29 05:36:52 +01:00
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
2006-04-04 19:42:48 +02:00
|
|
|
COMMENT= A python interface to libdasm
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
|
|
|
|
post-install:
|
2008-02-29 05:36:52 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2006-04-04 19:42:48 +02:00
|
|
|
@${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>
|