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 | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /misc/celestia/Makefile | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'misc/celestia/Makefile')
-rw-r--r-- | misc/celestia/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/celestia/Makefile b/misc/celestia/Makefile index cb7e94fb2a1..56547631035 100644 --- a/misc/celestia/Makefile +++ b/misc/celestia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2007/09/21 13:04:00 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:25 joerg Exp $ DISTNAME= celestia-1.4.1 PKGREVISION= 6 @@ -9,6 +9,8 @@ MAINTAINER= cesar_catrian@yahoo.com HOMEPAGE= http://www.shatters.net/celestia/ COMMENT= Free real-time 3D space simulator +PKG_DESTDIR_SUPPORT= user-destdir + DISTINFO_FILE= ${.CURDIR}/../../misc/celestia/distinfo PATCHDIR= ${.CURDIR}/../../misc/celestia/patches @@ -39,9 +41,10 @@ CONFIGURE_ARGS+= --with-xinerama CONFIGURE_ARGS+= --disable-threading .endif +INSTALLATION_DIRS= ${EGDIR} + post-install: - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/celestia.cfg ${EGDIR}/celestia.cfg.default + ${INSTALL_DATA} ${WRKSRC}/celestia.cfg ${DESTDIR}${EGDIR}/celestia.cfg.default .include "options.mk" |