summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
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>