diff options
author | obache <obache> | 2008-01-04 07:18:21 +0000 |
---|---|---|
committer | obache <obache> | 2008-01-04 07:18:21 +0000 |
commit | 8e306a87d36032231ecda51b0184e7c1b87fdfb1 (patch) | |
tree | 2e3760ad56499ee29458504790641c94a5903313 /misc | |
parent | b18dacf48876ac5f18a8616a67b41d81807e3ffe (diff) | |
download | pkgsrc-8e306a87d36032231ecda51b0184e7c1b87fdfb1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/getopt/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile index 49a51d209ee..20c140f03d0 100644 --- a/misc/getopt/Makefile +++ b/misc/getopt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2008/01/04 07:17:14 obache Exp $ +# $NetBSD: Makefile,v 1.9 2008/01/04 07:18:21 obache Exp $ # DISTNAME= getopt-1.1.3 @@ -14,11 +14,13 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews USE_TOOLS+= gmake +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/getopt ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/getopt.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/getopt ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/getopt.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |