aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-cups/Makefile
blob: 4c032f09e0f7d715287c7b1886a08fedbf2fcc54 (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
# New ports collection makefile for:    py-cups
# Date created:     2008-03-20
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/print/py-cups/Makefile,v 1.1 2008/03/20 13:55:32 ahze Exp $

PORTNAME=   cups
PORTVERSION=    1.9.37
CATEGORIES= print
MASTER_SITES=   http://cyberelk.net/tim/data/pycups/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   py${PORTNAME}-${PORTVERSION}

MAINTAINER= ahze@FreeBSD.org
COMMENT=    CUPS bindings for Python

LIB_DEPENDS=    cups.2:${PORTSDIR}/print/cups-base

USE_PYTHON= yes
USE_BZIP2=  yes
USE_PYDISTUTILS=    yes
CFLAGS+=    -I${LOCALBASE}/include -DVERSION=\\\"${PORTVERSION}\\\"
LDFLAGS+=   -L${LOCALBASE}/lib
MAKE_ENV=   CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
PYDISTUTILS_EGGINFO=${PORTNAME}-1.0-py2.5.egg-info
PLIST_FILES=    %%PYTHON_SITELIBDIR%%/cups.so

.include <bsd.port.mk>