aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pydasm/Makefile
blob: f2414fcf0bd3e5f35bf1cff9eedbb450ee8a0cb5 (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
32
33
34
35
36
37
38
# 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

.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>