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/celestia | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'misc/celestia')
-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" |