summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /cross
parentdf12796d2c7ff30316099a62cbdf43f49006d442 (diff)
downloadpkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz
Add DESTDIR support.
Diffstat (limited to 'cross')
-rw-r--r--cross/atasm/Makefile12
-rw-r--r--cross/uisp/Makefile4
2 files changed, 9 insertions, 7 deletions
diff --git a/cross/atasm/Makefile b/cross/atasm/Makefile
index 148a82d37ac..d8df3d32325 100644
--- a/cross/atasm/Makefile
+++ b/cross/atasm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:16 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:10 joerg Exp $
#
DISTNAME= atasm104
@@ -13,20 +13,20 @@ HOMEPAGE= http://sourceforge.net/projects/atasm/
COMMENT= Cross-assembler for 6502 optimized to code for Atari 8 bit computers
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/src
NO_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc/atasm
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${DOCDIR}
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/atasm ${PREFIX}/bin/atasm
+ ${INSTALL_PROGRAM} ${WRKSRC}/atasm ${DESTDIR}${PREFIX}/bin/atasm
${SED} -e 's,%%DOCDIR%%,${DOCDIR},g' < ${WRKSRC}/atasm.1.in > ${WRKSRC}/atasm.1
- ${INSTALL_DATA} ${WRKSRC}/atasm.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/atasm.txt ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/atasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/atasm.txt ${DESTDIR}${DOCDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/cross/uisp/Makefile b/cross/uisp/Makefile
index 16d3c50df73..77c58c095c0 100644
--- a/cross/uisp/Makefile
+++ b/cross/uisp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/12/18 17:13:49 rumble Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/20 01:09:10 joerg Exp $
#
DISTNAME= uisp-20040311
@@ -9,6 +9,8 @@ EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://savannah.nongnu.org/projects/uisp
COMMENT= AVR microcontroller hardware in-system programmer
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes