aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-xlib/Makefile
blob: 6bd68546c3595d8df76bbdcfecb2533453bf0121 (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
# New ports collection makefile for:	python-xlib
# Date created:		5 December 2001
# Whom:	      		Mike Meyer <mwm@mired.org>
#
# $FreeBSD$
#

PORTNAME=	xlib
PORTVERSION=	0.9
CATEGORIES=	x11-toolkits python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	python-xlib
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	python-xlib-${PORTVERSION}

MAINTAINER=	mwm@mired.org

BUILD_DEPENDS=	${PYDISTUTILS}

USE_PYTHON=	yes
PYTHON_SETUP=	${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py

do-build:
	@cd ${WRKSRC} && ${PYTHON_SETUP} build

do-install:
	@cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX}
	@${INSTALL_DATA} ${WRKSRC}/doc/info/python-xlib.info ${PREFIX}/info/
	@install-info ${PREFIX}/info/python-xlib.info ${PREFIX}/info/dir

.include <bsd.port.mk>