diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-04 16:44:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-04 16:44:27 +0000 |
commit | 656c818fa113c6f4e16f1bedc3d598d8fb46705b (patch) | |
tree | 0624ab8c58bd1e2d0cbdfb7b17395020dcc9b0cb /misc | |
parent | 1ca15de5f62acc6d4e5df81b98dd12d076a6e0e2 (diff) | |
download | pkgsrc-656c818fa113c6f4e16f1bedc3d598d8fb46705b.tar.gz |
DESTDIR support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/xtide/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/xtide/Makefile b/misc/xtide/Makefile index a3965be13a8..ce408e4845b 100644 --- a/misc/xtide/Makefile +++ b/misc/xtide/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2009/11/09 12:46:54 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2010/02/04 16:44:27 joerg Exp $ DISTNAME= xtide-2.8.3 PKGREVISION= 2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.flaterco.com/ COMMENT= X11 tide predictor +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ @@ -27,13 +29,15 @@ SUBST_SED.xt= -e 's|/usr/local|${PREFIX}|g' PLIST_SUBST+= HARMONICS_FILE=${HARMONICS_FILE:Q} INSTALLATION_DIRS= share/xtide ${EGDIR} +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \ + mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} post-extract: ${ECHO} "${PREFIX}/share/xtide/${HARMONICS_FILE}" > ${WRKDIR}/xtide.conf post-install: - ${INSTALL_DATA} ${WRKDIR}/xtide.conf ${EGDIR}/xtide.conf - ${INSTALL_DATA} ${WRKDIR}/${HARMONICS_FILE} ${PREFIX}/share/xtide + ${INSTALL_DATA} ${WRKDIR}/xtide.conf ${DESTDIR}${EGDIR}/xtide.conf + ${INSTALL_DATA} ${WRKDIR}/${HARMONICS_FILE} ${DESTDIR}${PREFIX}/share/xtide .include "../../graphics/png/buildlink3.mk" .include "../../x11/libXaw/buildlink3.mk" |