diff options
Diffstat (limited to 'graphics/gocr/Makefile')
-rw-r--r-- | graphics/gocr/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile index a8f5c96ef29..79e757c5d73 100644 --- a/graphics/gocr/Makefile +++ b/graphics/gocr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/04/17 13:46:32 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:22 joerg Exp $ DISTNAME= gocr-0.40 PKGREVISION= 2 @@ -9,12 +9,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/jocr COMMENT= GOCR is a set of OCR tools +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_TOOLS+= gmake CONFIGURE_HAS_MANDIR= no -CONFIGURE_ARGS+= --mandir=/${PKGMANDIR} +CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} CONFIGURE_ARGS+= --with-netpbm=${BUILDLINK_PREFIX.netpbm} +INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR} + .include "options.mk" .include "../../graphics/netpbm/buildlink3.mk" |