DESTDIR support

This commit is contained in:
joerg 2010-02-03 23:27:52 +00:00
parent 952c816d13
commit 367301e6d0
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2006/03/04 21:29:47 jlam Exp $
# $NetBSD: Makefile,v 1.3 2010/02/03 23:27:52 joerg Exp $
#
DISTNAME= exifprobe-2.0.1
@ -9,4 +9,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html
COMMENT= EXIF data extractor
PKG_DESTDIR_SUPPORT= user-destdir
INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin \
MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2005/11/02 15:54:04 tv Exp $
# $NetBSD: Makefile,v 1.9 2010/02/03 23:33:58 joerg Exp $
#
DISTNAME= awka-0.7.5
@ -10,6 +10,11 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://awka.sourceforge.net/
COMMENT= AWK to ANSI C compiler
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
MANSRCDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"