diff options
author | obache <obache> | 2008-03-30 11:25:49 +0000 |
---|---|---|
committer | obache <obache> | 2008-03-30 11:25:49 +0000 |
commit | 2f97f03de7cb15e24ccf56509730ef2e8da4bf3b (patch) | |
tree | 810bc746151f525e9f4dd2fc308fb65ba4310a80 | |
parent | d5710ff250dcba24d360e7185410f431724e22ed (diff) | |
download | pkgsrc-2f97f03de7cb15e24ccf56509730ef2e8da4bf3b.tar.gz |
Add DESTDIR support, part of PR 38340.
-rw-r--r-- | x11/xxkb/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/xxkb/Makefile b/x11/xxkb/Makefile index c733a72c122..36134455e5f 100644 --- a/x11/xxkb/Makefile +++ b/x11/xxkb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2007/12/02 00:06:59 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/30 11:25:49 obache Exp $ DISTNAME= xxkb-1.11-src PKGNAME= ${DISTNAME:S/-src//} @@ -11,6 +11,8 @@ MAINTAINER= cheusov@tut.by HOMEPAGE= http://pascal.tsu.ru/other/xxkb/ COMMENT= XXKB - switches and indicates a current keyboard layout +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= xmkmf USE_IMAKE= yes DOC_FILES= LICENSE README.koi8 README @@ -21,7 +23,7 @@ WRKSRC= ${WRKDIR}/xxkb post-install: .for i in ${DOC_FILES} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOC_DIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${DOC_DIR} .endfor .include "../../x11/libXext/buildlink3.mk" |