summaryrefslogtreecommitdiff
path: root/cad/ntesla
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 01:50:26 +0000
committerjlam <jlam>2008-03-03 01:50:26 +0000
commitb5039a1a4c787f67dc3f15e83575b6e33b1f05cf (patch)
tree594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/ntesla
parent456f42e79b453ab8ccfea39b2c5c3f50c1fd0acb (diff)
downloadpkgsrc-b5039a1a4c787f67dc3f15e83575b6e33b1f05cf.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'cad/ntesla')
-rw-r--r--cad/ntesla/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/ntesla/Makefile b/cad/ntesla/Makefile
index 50e8501c288..f6207560a82 100644
--- a/cad/ntesla/Makefile
+++ b/cad/ntesla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/06/16 06:57:41 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 01:50:26 jlam Exp $
#
DISTNAME= ntesla-1.7
@@ -9,9 +9,11 @@ MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://www.nic.funet.fi/pub/sci/electrical/tesla/
COMMENT= Tesla coil design program
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ntesla ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ntesla ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"