aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2014-04-01 19:43:27 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2014-04-01 19:43:27 +0000
commit1766b072faaf61ab98aa35d46d7fe53ab27093b6 (patch)
tree45268d72c6e442062b41125b3bcb5e68cddc44c4
parent6767942ea0dd1c4d8cc777b9cb9fb6bb9be17b35 (diff)
downloadports-1766b072faaf61ab98aa35d46d7fe53ab27093b6.tar.gz
ports-1766b072faaf61ab98aa35d46d7fe53ab27093b6.zip
Notes
-rw-r--r--print/foo2zjs/Makefile10
-rw-r--r--print/foo2zjs/files/pkg-message.in5
-rw-r--r--print/foo2zjs/pkg-plist1
3 files changed, 12 insertions, 4 deletions
diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile
index 59bf216450b7..fe28ca412435 100644
--- a/print/foo2zjs/Makefile
+++ b/print/foo2zjs/Makefile
@@ -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
diff --git a/print/foo2zjs/files/pkg-message.in b/print/foo2zjs/files/pkg-message.in
index a9456581782e..7775adb5e060 100644
--- a/print/foo2zjs/files/pkg-message.in
+++ b/print/foo2zjs/files/pkg-message.in
@@ -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 ;)
###############################################################################
diff --git a/print/foo2zjs/pkg-plist b/print/foo2zjs/pkg-plist
index af2219821068..d1acf770cb58 100644
--- a/print/foo2zjs/pkg-plist
+++ b/print/foo2zjs/pkg-plist
@@ -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