1 # $NetBSD: Makefile,v 1.23 2012/09/11 23:04:34 asau Exp $
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
13 CONFIGURE_ARGS
+= --enable-global
15 XGUILOADPATH
= ${PREFIX}/share
/snns
17 INSTALLATION_DIRS
+= share
/snns share
/doc
/snns \
20 INSTALL_TARGET
= install install-man
21 INSTALL_MAKE_FLAGS
+= INSTALLDIR
=${DESTDIR}${PREFIX} \
22 MANDIR
=${DESTDIR}${PREFIX}/${PKGMANDIR}
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
; \
31 for i in
`ls -1 ${WRKSRC}/examples`; do \
32 ${INSTALL_DATA} ${WRKSRC}/examples
/$$i \
33 ${DESTDIR}${PREFIX}/share
/examples
/snns
; \
36 .
include "../../x11/Xaw3d/buildlink3.mk"
37 .
include "../../x11/libXpm/buildlink3.mk"
38 .
include "../../x11/libXt/buildlink3.mk"
39 .
include "../../mk/bsd.pkg.mk"