Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Feb 2016 17:05:01 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409817 - in head: . print print/pnm2ppa
Message-ID:  <201602291705.u1TH51SP021317@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Feb 29 17:05:01 2016
New Revision: 409817
URL: https://svnweb.freebsd.org/changeset/ports/409817

Log:
  Resurrect port: print/pnm2ppa
  
  This software creates output using the PPA (printer performance
  architecture) protocol.  This protocol is used by some HP "Windows-only"
  printers, including the HP Deskjet 820C series, the HP DeskJet 720 series,
  and the HP DeskJet 1000 series.  It has been tested on all three printers,
  but your personal experience (positive or negative) is very much appreciated!
  
  WWW: http://pnm2ppa.sourceforge.net/
  
  PR:		207468
  Submitted by:	Miroslav Lachman <000.fbsd@quip.cz>

Added:
  head/print/pnm2ppa/
     - copied from r351052, head/print/pnm2ppa/
  head/print/pnm2ppa/pkg-plist   (contents, props changed)
Deleted:
  head/print/pnm2ppa/pkg-install
Modified:
  head/MOVED
  head/print/Makefile
  head/print/pnm2ppa/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Mon Feb 29 16:52:58 2016	(r409816)
+++ head/MOVED	Mon Feb 29 17:05:01 2016	(r409817)
@@ -5945,7 +5945,6 @@ mail/althea||2014-04-13|Has expired: Unm
 graphics/claraocr||2014-04-13|Has expired: Unmaintained since 2001
 graphics/qvplay||2014-04-13|Has expired: Unmaintained since 2001
 print/guitartex||2014-04-13|Has expired: Unmaintained since 2001
-print/pnm2ppa||2014-04-13|Has expired: Unmaintained since 2001
 graphics/opendis||2014-04-13|Has expired: Unmaintained since 2001
 net/gnome-mud||2014-04-13|Has expired: Unmaintained since 2001
 graphics/maverik||2014-04-13|Has expired: Unmaintained since 2001

Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile	Mon Feb 29 16:52:58 2016	(r409816)
+++ head/print/Makefile	Mon Feb 29 17:05:01 2016	(r409817)
@@ -185,6 +185,7 @@
     SUBDIR += pkipplib
     SUBDIR += pkpgcounter
     SUBDIR += pmw
+    SUBDIR += pnm2ppa
     SUBDIR += poster
     SUBDIR += ps2eps
     SUBDIR += pscal

Modified: head/print/pnm2ppa/Makefile
==============================================================================
--- head/print/pnm2ppa/Makefile	Fri Apr 11 21:54:45 2014	(r351052)
+++ head/print/pnm2ppa/Makefile	Mon Feb 29 17:05:01 2016	(r409817)
@@ -3,29 +3,19 @@
 
 PORTNAME=	pnm2ppa
 PORTVERSION=	1.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	000.fbsd@quip.cz
 COMMENT=	Convert PNM images to PPA for some HP printers
 
 OPTIONS_DEFINE=	A4SIZE
 A4SIZE_DESC=	Set A4 (not Letter) as a default paper size
 
-DEPRECATED=	Unmaintained since 2001
-EXPIRATION_DATE=	2014-04-12
-USE_GHOSTSCRIPT_RUN=	yes
-USE_GMAKE=	yes
+USES=	gmake ghostscript:run
 GNU_CONFIGURE=	yes
 
-MAN1=		pnm2ppa.1
-PLIST_FILES=	bin/asciippafilter bin/calibrate_ppa bin/pnm2ppa bin/ppafilter \
-		etc/pnm2ppa.conf.sample
-
-PKGDEINSTALL=	${PKGINSTALL}
-
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if defined(A4) || !empty(PORT_OPTIONS:MA4SIZE)
@@ -49,14 +39,11 @@ post-patch:
 		${FILESDIR}/ppafilter.SH > ${WRKSRC}/ppafilter
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${MANPREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${PREFIX}/etc
-	@${SETENV} PKG_PREFIX="${PREFIX}" \
-		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/calibrate_ppa ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/pnm2ppa ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/asciippafilter ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/ppafilter ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/pnm2ppa.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_DATA} ${WRKSRC}/pnm2ppa.conf.sample ${STAGEDIR}${PREFIX}/etc
 
 .include <bsd.port.post.mk>

Added: head/print/pnm2ppa/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/pnm2ppa/pkg-plist	Mon Feb 29 17:05:01 2016	(r409817)
@@ -0,0 +1,6 @@
+bin/asciippafilter
+bin/calibrate_ppa
+bin/pnm2ppa
+bin/ppafilter
+@sample etc/pnm2ppa.conf.sample
+man/man1/pnm2ppa.1.gz



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