summaryrefslogtreecommitdiffstats
path: root/comms/py-lirc/Makefile
blob: 29f6e6f38bd23caaa3450d1bbd610a8de524e2ae (plain)
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:	py23-lirc
# Date created:		6 January 2004
# Whom:			Lewis Thompson (purple@lewiz.net)
#
# $FreeBSD$
#

PORTNAME=	lirc
PORTVERSION=	0.0.4
CATEGORIES=	comms python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	pylirc
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	pylirc-${PORTVERSION}

MAINTAINER=	purple@lewiz.net
COMMENT=	Lirc support library for Python

LIB_DEPENDS=	lirc_client.0:${PORTSDIR}/comms/lirc

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAKE_ENV=	LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
PLIST_FILES=	%%PYTHON_SITELIBDIR%%/pylircmodule.so

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
USE_PYTHON_PREFIX=	yes

.include <bsd.port.mk>
OpenPOWER on IntegriCloud