summaryrefslogtreecommitdiff
path: root/time/ptimetracker
diff options
context:
space:
mode:
Diffstat (limited to 'time/ptimetracker')
-rw-r--r--time/ptimetracker/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/time/ptimetracker/Makefile b/time/ptimetracker/Makefile
index af52405df1e..feb412a675a 100644
--- a/time/ptimetracker/Makefile
+++ b/time/ptimetracker/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/01/07 09:14:14 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:53 joerg Exp $
DISTNAME= ptimetracker-1.7.3
PKGREVISION= 3
@@ -9,6 +9,8 @@ MAINTAINER= jdolecek@NetBSD.org
HOMEPAGE= http://www.eggtart.plus.com/ptt/
COMMENT= Keep track of the time spent on projects
+PKG_DESTDIR_SUPPORT= user-destdir
+
# USE_GNOME= gnomehack gnomeprefix libgtkhtml libgnomeui
USE_LANGUAGES= c++
USE_TOOLS+= gmake
@@ -19,8 +21,8 @@ do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile ptt.pro
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ptimetracker ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/ptimetracker.1 ${PREFIX}/${PKGMANDIR}/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ptimetracker ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/ptimetracker.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"