Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / math / snns / Makefile
blob303cf93beabadd1c44c017ef4ac77c1de0499351
1 # $NetBSD: Makefile,v 1.23 2012/09/11 23:04:34 asau Exp $
3 DISTNAME= SNNSv4.3
4 PKGNAME= snns-4.3
5 CATEGORIES= misc
6 MASTER_SITES= http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://www-ra.informatik.uni-tuebingen.de/SNNS/
10 COMMENT= Software simulator for neural networks
12 GNU_CONFIGURE= YES
13 CONFIGURE_ARGS+= --enable-global
15 XGUILOADPATH= ${PREFIX}/share/snns
17 INSTALLATION_DIRS+= share/snns share/doc/snns \
18 share/examples/snns
20 INSTALL_TARGET= install install-man
21 INSTALL_MAKE_FLAGS+= INSTALLDIR=${DESTDIR}${PREFIX} \
22 MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
24 post-install:
25 ${INSTALL_DATA} ${WRKSRC}/help.hdoc ${DESTDIR}${XGUILOADPATH}
26 ${INSTALL_DATA} ${WRKSRC}/default.cfg ${DESTDIR}${XGUILOADPATH}
27 for i in `ls -1 ${WRKSRC}/tools/doc`; do \
28 ${INSTALL_DATA} ${WRKSRC}/tools/doc/$$i \
29 ${DESTDIR}${PREFIX}/share/doc/snns; \
30 done
31 for i in `ls -1 ${WRKSRC}/examples`; do \
32 ${INSTALL_DATA} ${WRKSRC}/examples/$$i \
33 ${DESTDIR}${PREFIX}/share/examples/snns; \
34 done
36 .include "../../x11/Xaw3d/buildlink3.mk"
37 .include "../../x11/libXpm/buildlink3.mk"
38 .include "../../x11/libXt/buildlink3.mk"
39 .include "../../mk/bsd.pkg.mk"