pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/circos user-destdir support. Deal with bash d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4138c30c2c9a
branches: trunk
changeset: 395634:4138c30c2c9a
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jul 09 19:48:23 2009 +0000
description:
user-destdir support. Deal with bash dependency. Bump revision.
diffstat:
graphics/circos/Makefile | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r db3dcf57e155 -r 4138c30c2c9a graphics/circos/Makefile
--- a/graphics/circos/Makefile Thu Jul 09 19:46:14 2009 +0000
+++ b/graphics/circos/Makefile Thu Jul 09 19:48:23 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2009/05/04 22:26:56 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/09 19:48:23 joerg Exp $
#
DISTNAME= circos-0.49
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://mkweb.bcgsc.ca/circos/distribution/
EXTRACT_SUFX= .tgz
@@ -11,8 +12,10 @@
COMMENT= Concise, explanatory, unique and print-ready data visualization
#LICENSE=
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= # none
-USE_TOOLS+= pax perl
+USE_TOOLS+= pax perl bash:run
NO_BUILD= yes
DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone
@@ -41,12 +44,14 @@
REPLACE_PERL+= data/3/make_random_highlights data/6/hist.random.make
REPLACE_PERL+= svg/textrotation.svg
+REPLACE_BASH+= data/6/gene.density
+
post-extract:
cd ${WRKSRC} && rm -f bin/${PKGBASE} \
&& mv bin/${PKGNAME_NOREV} bin/${PKGBASE}
do-configure:
- cd ${WRKSRC} && ( ${ECHO} ${PERL5:Q} ; ${ECHO} ) | ./install
+ cd ${WRKSRC} && ( ${ECHO} ${PERL5:Q} ; ${ECHO} ) | ${BASH} ./install
pre-configure:
cd ${WRKSRC} && rm -f bin/*.orig
@@ -54,14 +59,14 @@
do-install:
cd ${WRKSRC} && \
for f in CHANGES README TODO; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/share/doc/${PKGBASE}; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; \
done; \
for f in bin/*; do \
- ${INSTALL_SCRIPT} $${f} ${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} $${f} ${DESTDIR}${PREFIX}/bin; \
done; \
for f in etc/*; do \
- ${INSTALL_DATA} $${f} ${PREFIX}/${EGDIR}; \
+ ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${EGDIR}; \
done; \
- pax -rw -pp data fonts images svg tutorials ${PREFIX}/share/circos
+ pax -rw -pp data fonts images svg tutorials ${DESTDIR}${PREFIX}/share/circos
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index