| @@ -1,18 +1,20 @@ | | | @@ -1,18 +1,20 @@ |
1 | # $NetBSD: Makefile,v 1.2 2006/10/05 14:55:21 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2009/02/11 00:33:54 gdt Exp $ |
2 | | | 2 | |
3 | .include "Makefile.common" | | 3 | .include "Makefile.common" |
4 | | | 4 | |
5 | COMMENT= Fast Artificial Neural Network | | 5 | COMMENT= Fast Artificial Neural Network |
6 | | | 6 | |
| | | 7 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 8 | |
7 | USE_PKGLOCALEDIR= yes | | 9 | USE_PKGLOCALEDIR= yes |
8 | USE_LIBTOOL= yes | | 10 | USE_LIBTOOL= yes |
9 | USE_TOOLS+= pkg-config | | 11 | USE_TOOLS+= pkg-config |
10 | GNU_CONFIGURE= yes | | 12 | GNU_CONFIGURE= yes |
11 | | | 13 | |
12 | PKGCONFIG_OVERRIDE+= fann.pc.in | | 14 | PKGCONFIG_OVERRIDE+= fann.pc.in |
13 | | | 15 | |
14 | post-install: | | 16 | post-install: |
15 | ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fann | | 17 | ${INSTALL_DATA_DIR} ${DESTDIR}/${PREFIX}/share/doc/fann |
16 | (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${PREFIX}/share/doc/fann) | | 18 | (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${DESTDIR}/${PREFIX}/share/doc/fann) |
17 | | | 19 | |
18 | .include "../../mk/bsd.pkg.mk" | | 20 | .include "../../mk/bsd.pkg.mk" |