diff options
author | obache <obache@pkgsrc.org> | 2008-01-04 07:18:21 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-01-04 07:18:21 +0000 |
commit | 474b11026fb5505ba09e2b5da546af60d13fae17 (patch) | |
tree | 2e3760ad56499ee29458504790641c94a5903313 /misc/getopt | |
parent | d9f0c34974f670cca2492e93ea4bf64c56ac5775 (diff) | |
download | pkgsrc-474b11026fb5505ba09e2b5da546af60d13fae17.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'misc/getopt')
-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" |