aboutsummaryrefslogtreecommitdiffstats
path: root/comms/py-lirc/Makefile
blob: 43278768844b3537158b7d8938de5f73d5122f57 (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
# Created by: Lewis Thompson (purple@lewiz.net)
# $FreeBSD$

PORTNAME=   lirc
PORTVERSION=    0.0.5
PORTREVISION=   4
CATEGORIES= comms python
MASTER_SITES=   SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pylirc-${PORTVERSION}

MAINTAINER= lewiz@compsoc.man.ac.uk
COMMENT=    Lirc support library for Python

LIB_DEPENDS=    liblirc_client.so:${PORTSDIR}/comms/lirc

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

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/pylircmodule.so

USES=           python
USE_PYTHON=     distutils pythonprefix
PYDISTUTILS_PKGNAME=    pylirc

.include <bsd.port.mk>