d26cf36e57
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2006/12/27 13:37:39 joerg Exp $
|
|
|
|
DISTNAME= SNNSv4.2
|
|
PKGNAME= snns-4.2
|
|
PKGREVISION= 1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/
|
|
|
|
MAINTAINER= wulf@NetBSD.org
|
|
HOMEPAGE= http://www-ra.informatik.uni-tuebingen.de/SNNS/
|
|
COMMENT= Software simulator for neural networks
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-global
|
|
|
|
XGUILOADPATH= ${PREFIX}/share/snns
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${XGUILOADPATH};
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/snns;
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snns;
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/snns;
|
|
${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 \
|
|
${PREFIX}/share/doc/snns; \
|
|
done
|
|
for i in `ls -1 ${WRKSRC}/examples`; do \
|
|
${INSTALL_DATA} ${WRKSRC}/examples/$$i \
|
|
${PREFIX}/share/examples/snns; \
|
|
done
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|