openbsd-ports/print/py-cups/Makefile

40 lines
825 B
Makefile
Raw Normal View History

2009-09-01 04:12:51 -04:00
# $OpenBSD: Makefile,v 1.9 2009/09/01 08:12:51 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= CUPS bindings for Python
2009-09-01 04:12:51 -04:00
VERSION= 1.9.46
DISTNAME= pycups-${VERSION}
2009-09-01 04:12:51 -04:00
PKGNAME= py-cups-${VERSION}
2008-04-20 05:49:33 -04:00
CATEGORIES= print
HOMEPAGE= http://cyberelk.net/tim/software/pycups/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://cyberelk.net/tim/data/pycups/
EXTRACT_SUFX= .tar.bz2
MODULES= converters/libiconv \
lang/python
LIB_DEPENDS= cups::print/cups
CFLAGS+= -I${LOCALBASE}/include -DVERSION=\"${VERSION}\"
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= PYTON="${MODPY_BIN}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/cupsconnection.c ${WRKSRC}/setup.py
.include <bsd.port.mk>