Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 19:43:28 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349883 - in head/print/foo2zjs: . files
Message-ID:  <201404011943.s31JhS1a049132@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Tue Apr  1 19:43:27 2014
New Revision: 349883
URL: http://svnweb.freebsd.org/changeset/ports/349883
QAT: https://qat.redports.org/buildarchive/r349883/

Log:
  print/foo2zjs -- incorporate devd configuration file:
  . add a configuration file with samples for devd;
  . add a note to pkg-message file;
  . bump PORTREVISION.
  
  PR:		ports/162313 (based on)
  Submitted by:	rmh

Modified:
  head/print/foo2zjs/Makefile
  head/print/foo2zjs/files/pkg-message.in
  head/print/foo2zjs/pkg-plist

Modified: head/print/foo2zjs/Makefile
==============================================================================
--- head/print/foo2zjs/Makefile	Tue Apr  1 19:41:31 2014	(r349882)
+++ head/print/foo2zjs/Makefile	Tue Apr  1 19:43:27 2014	(r349883)
@@ -3,7 +3,7 @@
 
 PORTNAME=	foo2zjs
 PORTVERSION=	20140330
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
 		${MASTER_SITE_LOCAL:S,$,bsam/${PORTNAME}/,}  \
@@ -20,8 +20,9 @@ PROJECTHOST=	bsdistfiles
 USE_GHOSTSCRIPT=yes
 USES=		gmake shebangfix
 SHEBANG_FILES=	msexpand
-SUB_FILES=	pkg-message
+SUB_FILES=	pkg-message ${DEVDCONF_FILE}
 EXTRAFILES=	msexpand getweb
+DEVDCONF_FILE=	${PORTNAME}.conf
 
 OPTIONS_DEFINE=	DOCS
 
@@ -29,8 +30,11 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile
 
 post-install:
-	@cd ${WRKSRC} && \
+	cd ${WRKSRC} && \
 		${INSTALL_SCRIPT} ${EXTRAFILES} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}/etc/devd
+	cd ${WRKDIR} && \
+		${INSTALL_SCRIPT} ${DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in ChangeLog INSTALL README manual.pdf

Modified: head/print/foo2zjs/files/pkg-message.in
==============================================================================
--- head/print/foo2zjs/files/pkg-message.in	Tue Apr  1 19:41:31 2014	(r349882)
+++ head/print/foo2zjs/files/pkg-message.in	Tue Apr  1 19:43:27 2014	(r349883)
@@ -15,6 +15,9 @@
      cp hpclj26*.icm km2430*.icm %%PREFIX%%/share/foo2hp/icm && \
      rm *.icm *.img
 
-4) Enjoy it ;)
+4) Edit %%PREFIX%%/etc/devd/foo2zjs.conf to fit your needs
+   and restart devd.
+
+5) Enjoy it ;)
 
 ###############################################################################

Modified: head/print/foo2zjs/pkg-plist
==============================================================================
--- head/print/foo2zjs/pkg-plist	Tue Apr  1 19:41:31 2014	(r349882)
+++ head/print/foo2zjs/pkg-plist	Tue Apr  1 19:43:27 2014	(r349883)
@@ -34,6 +34,7 @@ bin/qpdldecode
 bin/slxdecode
 bin/xqxdecode
 bin/zjsdecode
+etc/devd/foo2zjs.conf
 foomatic/db/source/opt/foo2hbpl1-ColorMode.xml
 foomatic/db/source/opt/foo2hbpl1-ICM.xml
 foomatic/db/source/opt/foo2hbpl1-MediaType.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404011943.s31JhS1a049132>