34 lines
896 B
Makefile
34 lines
896 B
Makefile
# New ports collection makefile for: snns
|
|
# Version required: 4.2
|
|
# Date created: 2 Febuary 1997
|
|
# Whom: reg@shale.csir.co.za
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= SNNSv4.2
|
|
PKGNAME= snns-4.2
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/
|
|
|
|
MAINTAINER= reg@FreeBSD.org
|
|
|
|
USE_XLIB= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}/snns --enable-global
|
|
|
|
post-configure:
|
|
@(${SED} -e "s#%prefix%#${PREFIX}#g" < ${FILESDIR}/snns > ${WRKSRC}/snns)
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/snns/examples;
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/snns/examples
|
|
${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/snns
|
|
${INSTALL_DATA} ${WRKSRC}/Readme.license ${PREFIX}/snns
|
|
${INSTALL_DATA} ${WRKSRC}/default.cfg ${PREFIX}/snns
|
|
${INSTALL_DATA} ${WRKSRC}/help.hdoc ${PREFIX}/snns
|
|
${INSTALL_SCRIPT} ${WRKSRC}/snns ${PREFIX}/bin
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|