Stagify, use shebangfix to fix bash path.

This commit is contained in:
Vanilla I. Shu 2014-07-07 12:52:11 +00:00
parent bf0b34d94f
commit efcb062281
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361075

View file

@ -10,23 +10,18 @@ MASTER_SITES= http://www.mathstat.dal.ca/~selinger/lpr-wrapper/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A user level printer frontend
USE_GHOSTSCRIPT_RUN= yes
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
ppdfilt:${PORTSDIR}/print/libppd \
psdim:${PORTSDIR}/print/psdim \
mpage:${PORTSDIR}/print/mpage \
pstops:${PORTSDIR}/print/psutils
USES= shebangfix
SHEBANG_FILES= lpr-wrapper.in lpr-wrapper-cups.in lpr-wrapper-features
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
RUN_DEPENDS+= pstops:${PORTSDIR}/print/psutils
PLIST_FILES= bin/lpr-wrapper bin/lpr-wrapper-cups bin/lpr-wrapper-features
NO_STAGE= yes
post-build:
${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|' \
${WRKSRC}/lpr-wrapper ${WRKSRC}/lpr-wrapper-cups \
${WRKSRC}/lpr-wrapper-features
.include <bsd.port.mk>