summaryrefslogtreecommitdiff
path: root/time/gcal
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 20:21:37 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 20:21:37 +0000
commit2ad9110d579d53bda552472d61543aa134288fb0 (patch)
tree5b9172854f8c506603243cb453270069ec41bf74 /time/gcal
parent620a6eb166cbb19d1701085792a48fcb28723bee (diff)
downloadpkgsrc-2ad9110d579d53bda552472d61543aa134288fb0.tar.gz
user-destdir support
Diffstat (limited to 'time/gcal')
-rw-r--r--time/gcal/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/time/gcal/Makefile b/time/gcal/Makefile
index 7e4a73a257c..c6f704f4456 100644
--- a/time/gcal/Makefile
+++ b/time/gcal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/06/16 11:42:02 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2009/07/07 20:22:42 joerg Exp $
#
DISTNAME= gcal-3.01
@@ -10,6 +10,8 @@ MAINTAINER= atatat@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gcal/gcal.html
COMMENT= GNU version of the standard calendar utility
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
INFO_FILES= # PLIST
@@ -20,5 +22,11 @@ BROKEN_GETTEXT_DETECTION= yes
REPLACE_PERL+= misc/gcalltx/gcalltxp.in
USE_TOOLS+= perl:run
+INSTALL_MAKE_FLAGS+= gnulocaledir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale \
+ bindir=${DESTDIR}${PREFIX}/bin \
+ packagedatadir=${DESTDIR}${PREFIX}/share/gcal \
+ infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"