diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /misc/blccc | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'misc/blccc')
-rw-r--r-- | misc/blccc/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/misc/blccc/Makefile b/misc/blccc/Makefile index c90e31b78d0..adeaed9fa82 100644 --- a/misc/blccc/Makefile +++ b/misc/blccc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/07/07 15:49:32 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:25 joerg Exp $ # DISTNAME= blccc-1.99 @@ -10,6 +10,8 @@ MAINTAINER= salo@NetBSD.org HOMEPAGE= http://www.blinkenlights.de/ COMMENT= Blinkenlights Chaos Control Center +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pkg-config USE_LIBTOOL= YES GNU_CONFIGURE= YES @@ -17,17 +19,16 @@ SHLIBTOOL_OVERRIDE= # empty EGDIR= ${PREFIX}/share/examples/blccc +INSTALLATION_DIRS= ${EGDIR}/movies ${EGDIR}/on-demand + .include "../../devel/blib/buildlink3.mk" post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA_DIR} ${EGDIR}/movies - ${INSTALL_DATA_DIR} ${EGDIR}/on-demand for f in config.xml loveletters.xml playlist.default.xml \ movies/bushfire-test.gif movies/bushfire_60frames.gif \ movies/camel.blm movies/the_fly.blm on-demand/4467.blm; \ do \ - ${INSTALL_DATA} ${WRKSRC}/examples/$${f} ${EGDIR}/$${f};\ + ${INSTALL_DATA} ${WRKSRC}/examples/$${f} ${DESTDIR}${EGDIR}/$${f};\ done .include "../../mk/bsd.pkg.mk" |