diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-09 23:30:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-09 23:30:07 +0000 |
commit | c049324d4f77017239146aa07f5a07fbfb618507 (patch) | |
tree | 3d427857a364fbcff7df0b7220a72b04c44254b5 /archivers/rzip | |
parent | 9138c2ff462c26331a1f98b681f7cc4f4d98f202 (diff) | |
download | pkgsrc-c049324d4f77017239146aa07f5a07fbfb618507.tar.gz |
DESTDIR support.
Diffstat (limited to 'archivers/rzip')
-rw-r--r-- | archivers/rzip/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/archivers/rzip/Makefile b/archivers/rzip/Makefile index 5ed28005506..971357351fc 100644 --- a/archivers/rzip/Makefile +++ b/archivers/rzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/12/19 13:39:14 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2009/02/09 23:37:17 joerg Exp $ DISTNAME= rzip-2.1 CATEGORIES= archivers @@ -8,13 +8,16 @@ MAINTAINER= carton@Ivy.NET HOMEPAGE= http://rzip.samba.org/ COMMENT= Create or extract .rz files, like gzip but smaller +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes -MAKE_FLAGS+= INSTALL_MAN=${PREFIX}/${PKGMANDIR} +INSTALL_MAKE_FLAGS+= INSTALL_BIN=${DESTDIR}${PREFIX}/bin \ + INSTALL_MAN=${DESTDIR}${PREFIX}/${PKGMANDIR} post-install: - ${LN} -f ${PREFIX}/bin/rzip ${PREFIX}/bin/runzip - ${RM} -f ${PREFIX}/${PKGMANDIR}/man1/runzip.1 - ${LN} -s rzip.1 ${PREFIX}/${PKGMANDIR}/man1/runzip.1 + ${LN} -f ${DESTDIR}${PREFIX}/bin/rzip ${DESTDIR}${PREFIX}/bin/runzip + ${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/runzip.1 + ${LN} -s rzip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/runzip.1 .include "../../mk/bsd.prefs.mk" |