diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-08 15:26:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-08 15:26:26 +0000 |
commit | a196c3f0f7ea46c0121521bece70203c01a2983c (patch) | |
tree | 17ad1f3d7a4790394cdc9ccba6609364d7149785 /cad/electric | |
parent | f4ab2cdc94436a2fea398d0c2fdd5b0568dc3ce7 (diff) | |
download | pkgsrc-a196c3f0f7ea46c0121521bece70203c01a2983c.tar.gz |
user-destdir support
Diffstat (limited to 'cad/electric')
-rw-r--r-- | cad/electric/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cad/electric/Makefile b/cad/electric/Makefile index 05a0db9e4fc..f8a6714f33b 100644 --- a/cad/electric/Makefile +++ b/cad/electric/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/05/09 02:42:25 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.17 2009/07/08 15:35:48 joerg Exp $ # DISTNAME= electric-7.00 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/electric/electric.html COMMENT= Electrical CAD system +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES= c c++ @@ -20,8 +22,8 @@ post-patch: < ${WRKSRC}/src/include/config.h.bak \ > ${WRKSRC}/src/include/config.h -post-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.html +INSTALL_TARGET= install install.html +INSTALLATION_DIRS= bin .include "../../mk/motif.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" |