summaryrefslogtreecommitdiff
path: root/lang/sr/Makefile
diff options
context:
space:
mode:
authoris <is>2005-03-08 13:49:49 +0000
committeris <is>2005-03-08 13:49:49 +0000
commit3e9d9a390dfde333f6760ad790639cb99623c107 (patch)
treecb0fd090f114ce0cc157fb697213ebcbe8566c19 /lang/sr/Makefile
parent17743d20d2e6423d009b2923e8ec19eccb5b08b3 (diff)
downloadpkgsrc-3e9d9a390dfde333f6760ad790639cb99623c107.tar.gz
sr-2.3.3nb2: create correct X11 linking instructions.
Diffstat (limited to 'lang/sr/Makefile')
-rw-r--r--lang/sr/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
index eecccdd8c2d..2280ffed3a9 100644
--- a/lang/sr/Makefile
+++ b/lang/sr/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2005/03/02 13:47:45 is Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/08 13:49:49 is Exp $
#
DISTNAME= sr233
PKGNAME= sr-2.3.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang parallel
MASTER_SITES= ftp://ftp.cs.arizona.edu/sr/
EXTRACT_SUFX= .tar.Z
@@ -22,10 +22,14 @@ USE_BUILDLINK3= yes
TEST_TARGET= verify
pre-configure:
- ${MV} ${WRKSRC}/Configuration ${WRKSRC}/Configuration.template
- ${SED} -e 's,_LOCALBASE_,${LOCALBASE},' \
- -e 's,_WRKSRC_,${WRKSRC},' \
- ${WRKSRC}/Configuration.template > ${WRKSRC}/Configuration
+ ${MV} ${WRKSRC}/Configuration \
+ ${WRKSRC}/Configuration.template
+ ${SED} -e 's,_LOCALBASE_,${LOCALBASE},g' \
+ -e 's,_WRKSRC_,${WRKSRC},g' \
+ -e 's,_XINC_,${X11BASE}/include,g' \
+ -e 's,_XLIB_,${X11BASE}/lib,g' \
+ ${WRKSRC}/Configuration.template \
+ > ${WRKSRC}/Configuration
pre-install:
-${MKDIR} ${LOCALBASE}/lib/sr