diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /misc/blccc | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.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" |