summaryrefslogtreecommitdiff
path: root/math/xldlas/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/xldlas/Makefile')
-rw-r--r--math/xldlas/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile
index 474e307e796..e63acc847b9 100644
--- a/math/xldlas/Makefile
+++ b/math/xldlas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2007/01/07 09:14:00 rillig Exp $
+# $NetBSD: Makefile,v 1.31 2008/03/04 18:12:59 jlam Exp $
DISTNAME= xldlas-0.85
PKGREVISION= 5
@@ -11,15 +11,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sunsite.math.klte.hu/mirrors/xldlas/
COMMENT= XForms-based statistics package
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/xldlas
USE_X11BASE= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xldlas ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/xldlas.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/xldlas
- ${CP} -R ${WRKSRC}/help ${PREFIX}/share/xldlas
+ ${INSTALL_PROGRAM} ${WRKSRC}/xldlas ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xldlas.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xldlas
+ ${CP} -R ${WRKSRC}/help ${DESTDIR}${PREFIX}/share/xldlas
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"