summaryrefslogtreecommitdiff
path: root/misc/bbweather/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bbweather/Makefile')
-rw-r--r--misc/bbweather/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/bbweather/Makefile b/misc/bbweather/Makefile
index ebd1805c638..d1eccdcecf7 100644
--- a/misc/bbweather/Makefile
+++ b/misc/bbweather/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/02/15 21:56:58 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:25 joerg Exp $
#
DISTNAME= bbweather-0.6.2
@@ -11,6 +11,8 @@ MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://www.netmeister.org/apps/bbweather/
COMMENT= Show current weather conditions
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= wget>=1.7:../../net/wget
GNU_CONFIGURE= YES
@@ -19,8 +21,8 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gunzip perl:run
post-install:
- cd ${PREFIX}/${PKGMANDIR}/man1 && ${GUNZIP_CMD} GrabWeather.1.gz
- cd ${PREFIX}/${PKGMANDIR}/man1 && ${GUNZIP_CMD} bbweather.1.gz
+ cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && ${GUNZIP_CMD} GrabWeather.1.gz
+ cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && ${GUNZIP_CMD} bbweather.1.gz
BUILDLINK_DEPMETHOD.libXt?= build