summaryrefslogtreecommitdiff
path: root/math/xldlas
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /math/xldlas
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/xldlas')
-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"