aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pydasm/Makefile
blob: f7fcadcd36a2a665823d6811d0a4ff9a734cecc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pydasm
PORTVERSION=    1.5
CATEGORIES= devel python
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   libdasm-${PORTVERSION}

MAINTAINER= antoine@FreeBSD.org
COMMENT=    Python interface to libdasm

WRKSRC=     ${WRKDIR}/${DISTNAME}/${PORTNAME}
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PROJECTHOST=    libdasm

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/das.py ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>