summaryrefslogtreecommitdiff
path: root/devel/sdcc
diff options
context:
space:
mode:
authorobache <obache>2011-03-11 11:36:28 +0000
committerobache <obache>2011-03-11 11:36:28 +0000
commite70d7c2670d83023da74d5a7cd6e10cc10b592a2 (patch)
tree72ef4574d2868308538203b9bcb7064be5fb97f5 /devel/sdcc
parenta3347d9c5933987c1c80d8a6d6363ec0ff968ec0 (diff)
downloadpkgsrc-e70d7c2670d83023da74d5a7cd6e10cc10b592a2.tar.gz
* set LICENSE=gnu-gpl-v2
* add user-destdir installation support.
Diffstat (limited to 'devel/sdcc')
-rw-r--r--devel/sdcc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/sdcc/Makefile b/devel/sdcc/Makefile
index a523626298a..ae529ec9e29 100644
--- a/devel/sdcc/Makefile
+++ b/devel/sdcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2010/01/15 21:23:12 jakllsch Exp $
+# $NetBSD: Makefile,v 1.41 2011/03/11 11:36:28 obache Exp $
DISTNAME= sdcc-src-2.8.0
PKGNAME= ${DISTNAME:S/-src//}
@@ -10,9 +10,12 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sdcc.sourceforge.net/
COMMENT= Cross compile 8051 code
+LICENSE= gnu-gpl-v2
DEPENDS+= gputils-[0-9]*:../../devel/gputils
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
# XXX - This HACK circumvent a problem with the use of yacc that breaks the
@@ -49,8 +52,8 @@ sys-endian-buildlink:
.endif
post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/*.lyx ${PREFIX}/share/doc/sdcc
- ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/sdcc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.lyx ${DESTDIR}${PREFIX}/share/doc/sdcc
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/sdcc
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"