Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1277

Submitted by:   jp-www@dcs.gla.ac.uk
Reviewed by:    mww@

new port print/psutils

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4450 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Jan 4, 2004
1 parent 7f40df1 commit 71c5ec4a92f6e1567dc650a45555aed71f84a37b
Showing with 33 additions and 0 deletions.
  1. +33 −0 print/psutils/Portfile
@@ -0,0 +1,33 @@
# $Id: Portfile,v 1.1 2004/01/04 22:50:11 mww Exp $

PortSystem 1.0

name psutils
version p17
categories print
maintainers jp-www@dcs.gla.ac.uk
description Useful utilities for manipulating PostScript documents
long_description PSUtils is a collection of useful utilities for \
manipulating PostScript documents. Programs included \
are psnup, for placing out several logical pages on a \
single sheet of paper, psselect, for selecting pages \
from a document, pstops, for general imposition, \
psbook, for signature generation for booklet printing, \
and psresize, for adjusting page sizes.
platforms darwin
homepage http://www.knackered.org/angus/psutils/
master_sites ftp://ftp.knackered.org/pub/psutils/
checksums md5 b161522f3bd1507655326afa7db4a0ad

worksrcdir ${name}

pre-configure {
file rename ${worksrcpath}/Makefile.unix ${worksrcpath}/Makefile
reinplace "s|/usr/local/bin/perl|perl|" "${worksrcpath}/Makefile"
reinplace "s|/usr/local|${prefix}|g" "${worksrcpath}/Makefile"
}
use_configure no

pre-destroot {
reinplace "s|${prefix}|${destroot}${prefix}|g" "${worksrcpath}/Makefile"
}

0 comments on commit 71c5ec4

Please sign in to comment.
You can’t perform that action at this time.