1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Move REINPLACE_CMD to correct Makefile target and fix a bashism in the

paperconfig script.
This commit is contained in:
Michael Nottebrock 2007-04-19 16:02:50 +00:00
parent 538c8ad2a1
commit f3174202c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190361

View File

@ -7,7 +7,7 @@
PORTNAME= libpaper
PORTVERSION= 1.1.21
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/libp/libpaper
@ -33,10 +33,11 @@ MAN8= paperconfig.8
pre-configure:
@${TOUCH} ${WRKSRC}/config.sub
@${REINPLACE_CMD} -E -e 's|(#!).*/bin/bash|\1/bin/sh|g' \
-e 's|==|=|g' \
${WRKSRC}/src/paperconfig.in
post-configure:
@${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h
${REINPLACE_CMD} -E -e 's|(#!).*/bin/bash|\1/bin/sh|g' \
${WRKSRC}/src/paperconfig.in
.include <bsd.port.mk>