# New ports collection makefile for: lpr-wrapper # Date created: 22 Apr 2005 17:00:00 CEST # Whom: e-masson@kisoft-services.com # # $FreeBSD$ # PORTNAME= lpr-wrapper PORTVERSION= 0.7 PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/lpr-wrapper/download/ MAINTAINER= emss@free.fr COMMENT= A user level printer frontend USE_GHOSTSCRIPT_RUN= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash RUN_DEPENDS+= ppdfilt:${PORTSDIR}/print/libppd RUN_DEPENDS+= psdim:${PORTSDIR}/print/psdim RUN_DEPENDS+= mpage:${PORTSDIR}/print/mpage .if defined(A4) RUN_DEPENDS+= pstops:${PORTSDIR}/print/psutils-a4 .else RUN_DEPENDS+= pstops:${PORTSDIR}/print/psutils-letter .endif PLIST_FILES= bin/lpr-wrapper bin/lpr-wrapper-cups bin/lpr-wrapper-features post-build: ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|' \ ${WRKSRC}/lpr-wrapper ${WRKSRC}/lpr-wrapper-cups \ ${WRKSRC}/lpr-wrapper-features .include