summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-05 11:39:00 +0000
committeragc <agc@pkgsrc.org>1998-02-05 11:39:00 +0000
commit7e5e8918e94cadb1899d86b95509840eea625bd4 (patch)
tree23dc2fb592e9d4e867959127624ccfb00b8cbf38 /graphics
parent10ff973d7915f84c52a93a616a2bd31df3ab1fab (diff)
downloadpkgsrc-7e5e8918e94cadb1899d86b95509840eea625bd4.tar.gz
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.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpaint/Makefile16
1 files changed, 12 insertions, 4 deletions
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 <bsd.port.mk>