FreeBSD Bugzilla – Attachment 167371 Details for
Bug 207468
print/pnm2ppa port resurrection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch agains old deleted port
pnm2ppa.patch (text/plain), 2.78 KB, created by
Miroslav Lachman
on 2016-02-24 22:56:55 UTC
(
hide
)
Description:
patch agains old deleted port
Filename:
MIME Type:
Creator:
Miroslav Lachman
Created:
2016-02-24 22:56:55 UTC
Size:
2.78 KB
patch
obsolete
>diff -N -u -r pnm2ppa.orig/Makefile pnm2ppa/Makefile >--- pnm2ppa.orig/Makefile 2016-02-17 22:20:52.391032899 +0100 >+++ pnm2ppa/Makefile 2016-02-24 23:09:36.980110626 +0100 >@@ -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 @@ > ${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> >diff -N -u -r pnm2ppa.orig/pkg-install pnm2ppa/pkg-install >--- pnm2ppa.orig/pkg-install 2016-02-17 22:20:52.397032875 +0100 >+++ pnm2ppa/pkg-install 1970-01-01 01:00:00.000000000 +0100 >@@ -1,18 +0,0 @@ >-#!/bin/sh >-# $FreeBSD: head/print/pnm2ppa/pkg-install 340719 2014-01-22 15:52:06Z mat $ >- >-sysconfdir=${PKG_PREFIX}/etc >-conffile=pnm2ppa.conf >- >-case $2 in >-POST-INSTALL) >- if test ! -f ${sysconfdir}/${conffile}; then >- cp ${sysconfdir}/${conffile}.sample ${sysconfdir}/${conffile}; >- fi >-;; >-DEINSTALL) >- if cmp -s ${sysconfdir}/${conffile} ${sysconfdir}/${conffile}.sample; then >- rm -f ${sysconfdir}/${conffile} >- fi >-;; >-esac >diff -N -u -r pnm2ppa.orig/pkg-plist pnm2ppa/pkg-plist >--- pnm2ppa.orig/pkg-plist 1970-01-01 01:00:00.000000000 +0100 >+++ pnm2ppa/pkg-plist 2016-02-17 23:44:38.000000000 +0100 >@@ -0,0 +1,6 @@ >+bin/asciippafilter >+bin/calibrate_ppa >+bin/pnm2ppa >+bin/ppafilter >+@sample etc/pnm2ppa.conf.sample >+man/man1/pnm2ppa.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207468
: 167371