openbsd-ports/print/ptouch-driver/Makefile
ajacoutot 946ef76d30 Import ptouch-driver-1.3.
ptouch-driver is a printer driver based on CUPS and foomatic, for the
Brother P-touch label printer family.

ok jasper@
2011-03-07 21:57:15 +00:00

35 lines
747 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/03/07 21:57:15 ajacoutot Exp $
COMMENT= Brother P-touch CUPS driver
DISTNAME= ptouch-driver-1.3
CATEGORIES= print
HOMEPAGE= http://www.diku.dk/hjemmesider/ansatte/panic/P-touch/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c cups cupsimage m pthread
MASTER_SITES= ${HOMEPAGE}
LIB_DEPENDS= print/cups
RUN_DEPENDS= print/foomatic-filters
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
CONFIGURE_ARGS= libdir=${PREFIX}/libexec
pre-configure:
${SUBST_CMD} ${WRKSRC}/driver/ptouch.xml
.include <bsd.port.mk>