[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / snns

Annotation of pkgsrc/math/snns/Makefile, Revision 1.5

1.5     ! jmc         1: # $NetBSD: Makefile,v 1.4 2001/12/19 20:16:06 wiz Exp $
1.1       wulf        2:
                      3: DISTNAME=      SNNSv4.2
                      4: PKGNAME=       snns-4.2
                      5: CATEGORIES=    misc
                      6: MASTER_SITES=  http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/
                      7:
                      8: MAINTAINER=    wulf@netbsd.org
                      9: HOMEPAGE=      http://www-ra.informatik.uni-tuebingen.de/SNNS/
                     10: COMMENT=       Software simulator for neural networks
1.4       wiz        11:
                     12: BUILD_DEPENDS+=        autoconf-2.13:../../devel/autoconf
1.2       wulf       13:
1.3       wulf       14: USE_XPM=       YES
1.1       wulf       15: GNU_CONFIGURE= YES
                     16: CONFIGURE_ARGS= --enable-global --prefix=${LOCALBASE}
                     17:
                     18: XGUILOADPATH=  ${LOCALBASE}/share/snns
1.5     ! jmc        19:
        !            20: #
        !            21: # Avoids a double configure loop that looses the install directory
        !            22: post-configure:
        !            23:                cd ${WRKSRC} && touch configuration/* configure Makefile.def config.h
1.1       wulf       24:
                     25: post-install:
                     26:                ${INSTALL_DATA_DIR} ${XGUILOADPATH};
                     27:                ${INSTALL_DATA_DIR} ${LOCALBASE}/share/snns;
                     28:                ${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/snns;
                     29:                ${INSTALL_DATA_DIR} ${LOCALBASE}/share/examples/snns;
                     30:                ${INSTALL_DATA} ${WRKSRC}/help.hdoc ${XGUILOADPATH};
                     31:                ${INSTALL_DATA} ${WRKSRC}/default.cfg ${XGUILOADPATH};
                     32:                cd ${WRKSRC} && ${MAKE} install-man;
                     33:                for i in `ls -1 ${WRKSRC}/tools/doc`; do \
                     34:                  ${INSTALL_DATA} ${WRKSRC}/tools/doc/$$i \
                     35:                    ${LOCALBASE}/share/doc/snns; \
                     36:                done
                     37:                for i in `ls -1 ${WRKSRC}/examples`; do \
                     38:                  ${INSTALL_DATA} ${WRKSRC}/examples/$$i \
                     39:                    ${LOCALBASE}/share/examples/snns; \
                     40:                done
                     41:
                     42: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>