openbsd-ports/print/psdim/Makefile
alek 15df219375 Import psdim 1.4
psdim is a small utility to be used in conjunction with pstops.
It looks at the contents of a postscript document to determine the
size of the printed pages. From this, it calculates the optimal
placement of the pages for n-up printing. It outputs a format
string suitable for processing by pstops.

Flavors:
       a4 - Use A4 paper size by default

From Steven Mestdagh <steven.mestdagh@esat.kuleuven.be>
2005-11-01 00:19:17 +00:00

38 lines
720 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2005/11/01 00:19:17 alek Exp $
COMMENT= "intelligent n-up printing"
DISTNAME= psdim-1.4
CATEGORIES= print
HOMEPAGE= http://www.mathstat.dal.ca/~selinger/psdim
MAINTAINER= Steven Mestdagh <steven.mestdagh@esat.kuleuven.be>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/download/
BUILD_DEPENDS= :ghostscript-*:print/ghostscript/gnu
RUN_DEPENDS= ${BUILD_DEPENDS}
WANTLIB= c
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-metric
SEPARATE_BUILD= concurrent
FLAVORS= a4
FLAVOR?=
.if defined(FLAVOR) && ${FLAVOR:L} == "a4"
CONFIGURE_ARGS+= --enable-a4
.endif
.include <bsd.port.mk>