summaryrefslogtreecommitdiff
path: root/lang/sr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sr/Makefile')
-rw-r--r--lang/sr/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile
index 6a940b2ee35..e52eb71b23b 100644
--- a/lang/sr/Makefile
+++ b/lang/sr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2009/06/30 00:07:18 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2010/03/03 13:01:43 is Exp $
#
DISTNAME= sr233
@@ -12,6 +12,8 @@ MAINTAINER= is@NetBSD.org
HOMEPAGE= http://www.cs.arizona.edu/sr/
COMMENT= The SR language compiler and run time system
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}
@@ -27,8 +29,8 @@ SUBST_SED.sr+= -e 's,_XINC_,${X11BASE}/include,g'
SUBST_SED.sr+= -e 's,_XLIB_,${X11BASE}/lib,g'
post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${PREFIX}/bin
- cd ${WRKSRC}/ps && ${INSTALL_DATA} *.ps ${PREFIX}/share/doc/sr
+ ${INSTALL_PROGRAM} ${WRKSRC}/csw/cstest ${DESTDIR}${PREFIX}/bin
+ cd ${WRKSRC}/ps && ${INSTALL_DATA} *.ps ${DESTDIR}${PREFIX}/share/doc/sr
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"