summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc>1998-02-05 11:39:00 +0000
committeragc <agc>1998-02-05 11:39:00 +0000
commit6016922578bf8fcea5e08e6bc517948f79032b7e (patch)
tree23dc2fb592e9d4e867959127624ccfb00b8cbf38 /graphics
parent2672b8120ae950364f225e8637f254e62c3a595f (diff)
downloadpkgsrc-6016922578bf8fcea5e08e6bc517948f79032b7e.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>