Makefile 744 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.6 2017/05/07 18:27:17 jasper Exp $
  2. COMMENT= Brother P-touch CUPS driver
  3. DISTNAME= ptouch-driver-1.3
  4. CATEGORIES= print
  5. REVISION= 2
  6. HOMEPAGE= http://www.diku.dk/hjemmesider/ansatte/panic/P-touch/
  7. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB += c cups cupsimage m pthread
  11. MASTER_SITES= ${HOMEPAGE}
  12. LIB_DEPENDS= print/cups,-libs
  13. # foomatic-rip(1), foomatic-db(-engine)
  14. RUN_DEPENDS += print/cups-filters
  15. CONFIGURE_STYLE=gnu
  16. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  17. LDFLAGS="-L${LOCALBASE}/lib -pthread"
  18. CONFIGURE_ARGS= libdir=${PREFIX}/libexec
  19. CFLAGS += -fgnu89-inline
  20. pre-configure:
  21. ${SUBST_CMD} ${WRKSRC}/driver/ptouch.xml
  22. .include <bsd.port.mk>