From 7e5e8918e94cadb1899d86b95509840eea625bd4 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 5 Feb 1998 11:39:00 +0000 Subject: Add NetBSD RCS Id. Correct LIB_DEPENDS lines for NetBSD. Add CAT1 definition for preformatted manual page Use sed to generalise LOCALBASE and X11BASE, rather than having hard-coded paths. --- graphics/xpaint/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'graphics/xpaint') diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index 4742ff261a2..ba4f93511a2 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -3,6 +3,7 @@ # Date created: 2 Jan 1995 # Whom: swallace # +# $NetBSD: Makefile,v 1.2 1998/02/05 11:39:00 agc Exp $ # FreeBSD Id: Makefile,v 1.14 1997/08/29 12:17:50 tg Exp # @@ -12,12 +13,19 @@ MASTER_SITES= http://www.danbbs.dk/~torsten/xpaint/ MAINTAINER= ports@freebsd.org -LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \ - tiff\\.3\\.:${PORTSDIR}/graphics/tiff \ - Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \ - png\\.0\\.:${PORTSDIR}/graphics/png +LIB_DEPENDS= jpeg.7.:${PORTSDIR}/graphics/jpeg \ + tiff.3.:${PORTSDIR}/graphics/tiff \ + Xpm.4.:${PORTSDIR}/graphics/xpm \ + png.0.:${PORTSDIR}/graphics/png WRKSRC= ${WRKDIR}/xpaint USE_IMAKE= yes +CAT1= xpaint.0 + +pre-configure: + @${SED} -e 's|\$${LOCALBASE}|'${LOCALBASE}'|g' \ + -e 's|\$${X11BASE}|'${X11BASE}'|g' \ + < ${WRKSRC}/Local.config > ${WRKSRC}/Local.config.new && \ + ${MV} ${WRKSRC}/Local.config.new ${WRKSRC}/Local.config .include -- cgit v1.2.3