2006-12-15 21:32:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2006/12/15 20:32:58 joerg Exp $
|
2001-06-28 17:18:03 +02:00
|
|
|
|
|
|
|
DISTNAME= SNNSv4.2
|
|
|
|
PKGNAME= snns-4.2
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2001-06-28 17:18:03 +02:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= wulf@NetBSD.org
|
2001-06-28 17:18:03 +02:00
|
|
|
HOMEPAGE= http://www-ra.informatik.uni-tuebingen.de/SNNS/
|
|
|
|
COMMENT= Software simulator for neural networks
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-global
|
2001-06-28 17:18:03 +02:00
|
|
|
|
2003-02-18 18:43:05 +01:00
|
|
|
XGUILOADPATH= ${PREFIX}/share/snns
|
2002-03-07 08:13:59 +01:00
|
|
|
|
2001-06-28 17:18:03 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${XGUILOADPATH};
|
2005-06-17 06:49:45 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/snns;
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snns;
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/snns;
|
2001-06-28 17:18:03 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/help.hdoc ${XGUILOADPATH};
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/default.cfg ${XGUILOADPATH};
|
|
|
|
cd ${WRKSRC} && ${MAKE} install-man;
|
|
|
|
for i in `ls -1 ${WRKSRC}/tools/doc`; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tools/doc/$$i \
|
2005-06-17 06:49:45 +02:00
|
|
|
${PREFIX}/share/doc/snns; \
|
2001-06-28 17:18:03 +02:00
|
|
|
done
|
|
|
|
for i in `ls -1 ${WRKSRC}/examples`; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/$$i \
|
2005-06-17 06:49:45 +02:00
|
|
|
${PREFIX}/share/examples/snns; \
|
2001-06-28 17:18:03 +02:00
|
|
|
done
|
|
|
|
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2001-06-28 17:18:03 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|