aboutsummaryrefslogtreecommitdiffstats
path: root/print/hplip/Makefile
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2006-09-28 07:00:09 +0800
committerbsam <bsam@FreeBSD.org>2006-09-28 07:00:09 +0800
commit6dffab5dcaa857fc636f7cca1c36bdd8cb314996 (patch)
tree3c5a5b037b97c32389def8f7824f8d532136c4bf /print/hplip/Makefile
parent3fe45b16dec8e7948cd921fb5021171ba1243ac9 (diff)
downloadfreebsd-ports-gnome-6dffab5dcaa857fc636f7cca1c36bdd8cb314996.tar.gz
freebsd-ports-gnome-6dffab5dcaa857fc636f7cca1c36bdd8cb314996.tar.zst
freebsd-ports-gnome-6dffab5dcaa857fc636f7cca1c36bdd8cb314996.zip
- update from 0.9.11 to 1.6.7;
- enhanced pkg-message. PR: 100413 Submitted by: Anish Mistry <amistry at am-productions.biz> (maintainer)
Diffstat (limited to 'print/hplip/Makefile')
-rw-r--r--print/hplip/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/print/hplip/Makefile b/print/hplip/Makefile
index f2d136778fb3..523ff9f3f575 100644
--- a/print/hplip/Makefile
+++ b/print/hplip/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hplip
-PORTVERSION= 0.9.11
+PORTVERSION= 1.6.7
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hplip
@@ -40,7 +40,7 @@ PKGDEINSTALL= ${PKGINSTALL}
OPTIONS= GUI "build with Python QT" on
-PLIST_SUB+= PORTVERSION=${PORTVERSION} IJSVER=2.1.10
+PLIST_SUB+= PORTVERSION=${PORTVERSION} IJSVER=2.6.7
.include <bsd.port.pre.mk>
@@ -100,6 +100,11 @@ post-install:
@${LN} -sf ${PREFIX}/share/hplip/hpssd.py ${PREFIX}/sbin/hpssd
@${LN} -sf ${PREFIX}/bin/foomatic-rip \
${PREFIX}/libexec/cups/filter/foomatic-rip
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${PREFIX}/etc/hp
+ # Auto-generate sample configuration file
+ @${ECHO} "home=${PREFIX}/share/hplip" >> ${WRKSRC}/hplip.conf
+ @${ECHO} "ppd=${PREFIX}/share/ppd" >> ${WRKSRC}/hplip.conf
+ @${INSTALL_DATA} ${WRKSRC}/hplip.conf ${PREFIX}/etc/hp/hplip.conf.sample
+ @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
.include <bsd.port.post.mk>