diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-13 01:21:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-13 01:21:08 +0800 |
commit | 957d19300798f5b862f8648a156d32f6d9bf82e9 (patch) | |
tree | e88c047646589f8459da819a97ee59e477c90fb4 /print | |
parent | 36f7bfef411f992d1285cac6ee1c0691b8536f5e (diff) | |
download | freebsd-ports-gnome-957d19300798f5b862f8648a156d32f6d9bf82e9.tar.gz freebsd-ports-gnome-957d19300798f5b862f8648a156d32f6d9bf82e9.tar.zst freebsd-ports-gnome-957d19300798f5b862f8648a156d32f6d9bf82e9.zip |
- Switch to OPTIONS_SUB
- Switch to options helpers
- Unsilence installation
Diffstat (limited to 'print')
-rw-r--r-- | print/hpijs/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile index fb693cba3a35..cd958d58d525 100644 --- a/print/hpijs/Makefile +++ b/print/hpijs/Makefile @@ -12,14 +12,16 @@ COMMENT= Drivers and support resources for HP Inkjet Printers CONFLICTS= hplip-[0-9]* GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-dependency-tracking +CONFIGURE_ARGS= --disable-dependency-tracking USES= ghostscript:run jpeg CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= CUPS DOCS FOOMATIC -OPTIONS_DEFAULT= CUPS FOOMATIC +OPTIONS_DEFAULT=CUPS FOOMATIC +OPTIONS_SUB= yes + FOOMATIC_DESC= Install foomatic-rip and PPD files INSTALL_TARGET= install-exec install-foomatic @@ -29,21 +31,17 @@ INSTALL_TARGET= install-exec install-foomatic CONFLICTS+= foomatic-filters-* USES+= perl5 shebangfix CONFIGURE_ARGS+= --enable-foomatic-install -PLIST_SUB+= FOOMATIC="" SHEBANG_FILES= foomatic-rip .else CONFIGURE_ARGS+= --disable-foomatic-install -PLIST_SUB+= FOOMATIC="@comment " .endif .if ${PORT_OPTIONS:MCUPS} BUILD_DEPENDS+= cups-base>0:${PORTSDIR}/print/cups-base RUN_DEPENDS+= cups-base>0:${PORTSDIR}/print/cups-base CONFIGURE_ARGS+= --enable-cups-install -PLIST_SUB+= CUPS="" .else CONFIGURE_ARGS+= --disable-cups-install -PLIST_SUB+= CUPS="@comment " .endif .include <bsd.port.options.mk> @@ -58,9 +56,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hpijs ${STAGEDIR}${PREFIX}/bin .endif -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/gs_hpijs.png ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/hpijs_readme.html ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |