20918013ba
* depends on foomatic-filters when a driver installs: share/foomatic/db/source/.../*.ppd{,.gz} * depends on foomatic-db-engine when a driver installs: share/foomatic/db/source/.../*.xml foomatic-db-engine now depends on foomatic-db (which itself depends on nothing anymore). This will ensure all the needed packages are installed for complete foomatic-* use. Some packages install both pre-created ppd and xml files, so theorically it wouldn't need to depend on foomatic-db-engine, but we still do it because we may want to regen the ppd file. It's the best compromise I could come up with.
38 lines
785 B
Makefile
38 lines
785 B
Makefile
# $OpenBSD: Makefile,v 1.2 2011/04/15 18:40:47 ajacoutot Exp $
|
|
|
|
COMMENT= Brother P-touch CUPS driver
|
|
|
|
DISTNAME= ptouch-driver-1.3
|
|
CATEGORIES= print
|
|
|
|
REVISION= 0
|
|
|
|
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 \
|
|
print/foomatic-db-engine
|
|
|
|
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>
|