From 2bbc285339067a55ddf018f52ac0a837577f0920 Mon Sep 17 00:00:00 2001 From: gdt Date: Wed, 11 Feb 2009 00:33:54 +0000 Subject: user-destdir --- devel/fann/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'devel/fann') diff --git a/devel/fann/Makefile b/devel/fann/Makefile index c524c8a8392..541c4f900c5 100644 --- a/devel/fann/Makefile +++ b/devel/fann/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.2 2006/10/05 14:55:21 gdt Exp $ +# $NetBSD: Makefile,v 1.3 2009/02/11 00:33:54 gdt Exp $ .include "Makefile.common" COMMENT= Fast Artificial Neural Network +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config @@ -12,7 +14,7 @@ GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE+= fann.pc.in post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fann - (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${PREFIX}/share/doc/fann) + ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/doc/fann + (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${DESTDIR}/${PREFIX}/share/doc/fann) .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3