svn commit: r401370 - head/print/foo2zjs
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Nov 12 17:20:12 UTC 2015
Author: amdmi3
Date: Thu Nov 12 17:20:11 2015
New Revision: 401370
URL: https://svnweb.freebsd.org/changeset/ports/401370
Log:
- Add LICENSE
- Switch to options helpers
Modified:
head/print/foo2zjs/Makefile
Modified: head/print/foo2zjs/Makefile
==============================================================================
--- head/print/foo2zjs/Makefile Thu Nov 12 17:20:03 2015 (r401369)
+++ head/print/foo2zjs/Makefile Thu Nov 12 17:20:11 2015 (r401370)
@@ -12,6 +12,9 @@ MASTER_SITES= GOOGLE_CODE \
MAINTAINER= ports at FreeBSD.org
COMMENT= Driver for printers that use the ZjStream wire protocol
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db \
foomatic-rip:${PORTSDIR}/print/foomatic-filters \
@@ -24,7 +27,7 @@ SUB_FILES= pkg-message ${DEVDCONF_FILE}
EXTRAFILES= msexpand getweb
DEVDCONF_FILE= ${PORTNAME}.conf
-MAKE_JOBS_UNSAFE= YES
+MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
@@ -38,6 +41,8 @@ post-install:
cd ${WRKDIR} && \
${INSTALL_SCRIPT} ${DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ChangeLog INSTALL README manual.pdf
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
More information about the svn-ports-all
mailing list