summaryrefslogtreecommitdiff
path: root/misc/celestia
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /misc/celestia
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'misc/celestia')
-rw-r--r--misc/celestia/Makefile9
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"