pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/xcircuit user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/833879e6b30f
branches: trunk
changeset: 561389:833879e6b30f
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jul 08 16:03:35 2009 +0000
description:
user-destdir support
diffstat:
cad/xcircuit/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 7fb41b41c255 -r 833879e6b30f cad/xcircuit/Makefile
--- a/cad/xcircuit/Makefile Wed Jul 08 16:02:05 2009 +0000
+++ b/cad/xcircuit/Makefile Wed Jul 08 16:03:35 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2007/06/03 23:27:23 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2009/07/08 16:03:35 joerg Exp $
DISTNAME= xcircuit-3.4.26
CATEGORIES= cad graphics
@@ -9,6 +9,8 @@
HOMEPAGE= http://opencircuitdesign.com/xcircuit/
COMMENT= Drawing program for X11 (especially for circuits)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_TOOLS+= gs:run
GNU_CONFIGURE= yes
@@ -30,15 +32,15 @@
BUILD_TARGET= tcl
INSTALL_TARGET= install-tcl
+INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/examples/xcircuit
post-extract:
${MV} -f ${WRKSRC}/examples/.xcircuitrc ${WRKSRC}/examples/xcircuitrc
${TOUCH} ${WRKSRC}/menudep.h
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcircuit
- ${INSTALL_DATA} ${WRKSRC}/examples/*.* ${PREFIX}/share/examples/xcircuit/
- ${INSTALL_DATA} ${WRKSRC}/examples/xcircuitrc ${PREFIX}/share/examples/xcircuit/
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.* ${DESTDIR}${PREFIX}/share/examples/xcircuit/
+ ${INSTALL_DATA} ${WRKSRC}/examples/xcircuitrc ${DESTDIR}${PREFIX}/share/examples/xcircuit/
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index