39 lines
861 B
Makefile
39 lines
861 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pydasm
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PROJECTHOST= libdasm
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= libdasm-${PORTVERSION}
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Python interface to libdasm
|
|
|
|
LICENSE= BSD
|
|
|
|
WRKSRC_SUBDIR= ${PORTNAME}
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
PLIST_FILES= ${PYTHON_SITELIBDIR}/pydasm.so
|
|
PORTDOCS= README.txt
|
|
PORTEXAMPLES= das.py
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|