Tweak print/pdf4tcl version 0.8
[dports.git] / print / cups-cloud-print / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       cups-cloud-print
4 PORTVERSION=    20160502
5 CATEGORIES=     print
6
7 MAINTAINER=     ports@FreeBSD.org
8 COMMENT=        Print using Google Cloud Print
9
10 LICENSE=        GPLv3+
11 LICENSE_FILE=   ${WRKSRC}/COPYING
12
13 BUILD_DEPENDS=  cups-config:print/cups
14 RUN_DEPENDS=    cancel:print/cups \
15                 ${PYTHON_PKGNAMEPREFIX}pycups>0:print/py-pycups \
16                 bash:shells/bash \
17                 ${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2
18
19 USE_GITHUB=     yes
20 GH_ACCOUNT=     simoncadman
21 GH_PROJECT=     CUPS-Cloud-Print
22
23 USES=           gmake python shebangfix
24 SHEBANG_FILES=  testing/*.sh
25 GNU_CONFIGURE=  yes
26 MAKE_ARGS=      NOPERMS=1
27 NO_BUILD=       yes
28 NO_ARCH=        yes
29
30 DATADIR=        ${PREFIX}/share/cloudprint-cups
31 DOCSDIR=        ${PREFIX}/share/doc/cloudprint-cups
32
33 OPTIONS_DEFINE= DOCS
34
35 post-patch:
36         @${REINPLACE_CMD} -e \
37                 '/README.md/s|^|#| ; \
38                  /COPYING/s|^|#|' ${WRKSRC}/Makefile.in
39
40 post-install-DOCS-on:
41         @${MKDIR} ${STAGEDIR}${DOCSDIR}
42         (cd ${WRKSRC} && ${INSTALL_DATA} README.md ${STAGEDIR}${DOCSDIR})
43
44 .include <bsd.port.mk>