better sed usage.

--
From: Waba <wabasoft@yahoo.fr>
This commit is contained in:
brad 2002-10-04 13:10:34 +00:00
parent 271ccb8964
commit 9f0d73fa37

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.25 2002/05/13 23:31:24 espie Exp $
# $OpenBSD: Makefile,v 1.26 2002/10/04 13:10:34 brad Exp $
# $NetBSD: Makefile,v 1.25 1999/03/04 14:18:54 tron Exp $
COMMENT= "toolkit for converting images between different formats"
DISTNAME= netpbm-9.24
CATEGORIES= graphics
NEED_VERSION= 1.500
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netpbm/}
EXTRACT_SUFX= .tgz
@ -34,7 +33,7 @@ pre-build:
@mv -f ${WRKSRC}/pbm/pm.h ${WRKSRC}/pbm/pm.h.new
@sed -e s#!!X11R6!!#${X11BASE}#g \
${WRKSRC}/pm_config.h.new > ${WRKSRC}/pm_config.h
@sed -e s#shhopt.h#pm_shhopt.h#g \
@sed -e 's#<shhopt.h>#<pm_shhopt.h>#g' \
${WRKSRC}/pbm/pm.h.new > ${WRKSRC}/pbm/pm.h
@cp -f ${FILESDIR}/Makefile.config.OpenBSD \
${WRKSRC}/Makefile.config