From b5039a1a4c787f67dc3f15e83575b6e33b1f05cf Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 01:50:26 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- cad/eagle/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cad/eagle/Makefile') diff --git a/cad/eagle/Makefile b/cad/eagle/Makefile index d9d74c50a36..a7fea14648c 100644 --- a/cad/eagle/Makefile +++ b/cad/eagle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/07/29 05:18:36 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/03 01:50:27 jlam Exp $ # DISTNAME= eagle-lin-eng-4.14 @@ -12,6 +12,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.cadsoft.de/ COMMENT= Easy to use printed circuit board editor +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= Redistribution not permitted LICENSE= fee-based-commercial-use NO_SRC_ON_FTP= ${RESTRICTED} @@ -29,8 +31,8 @@ do-configure: ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" <${FILESDIR}/eagle >${WRKDIR}/eagle do-install: - ${INSTALL_PROGRAM_DIR} ${PREFIX}/eagle - cd ${WRKSRC} && ${CP} -R ${WRKSRC}/* ${PREFIX}/eagle - ${INSTALL_SCRIPT} ${WRKDIR}/eagle ${PREFIX}/bin + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/eagle + cd ${WRKSRC} && ${CP} -R ${WRKSRC}/* ${DESTDIR}${PREFIX}/eagle + ${INSTALL_SCRIPT} ${WRKDIR}/eagle ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3