summaryrefslogtreecommitdiffstats
path: root/math/snns/Makefile
blob: 34875a2acfb681300e899cd7795658c154dd16cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	snns
# Version required:	4.1
# Date created:		2 Febuary 1997
# Whom:			reg@shale.csir.co.za
#
# $Id: Makefile,v 1.1.1.1 1999/04/03 01:04:47 steve Exp $
#

DISTNAME=	SNNSv4.1
PKGNAME=	snns-4.1
CATEGORIES=	math
MASTER_SITES=	ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/

MAINTAINER=	reg@shale.csir.co.za

USE_XLIB=	yes

post-configure:
	@(cd ${WRKSRC} && ./configure < options.FreeBSD)
	@(sed -e "s#%prefix%#${PREFIX}#g" < ${FILESDIR}/snns > ${WRKSRC}/snns)

do-build:
	@(cd ${WRKSRC} && ./build all)

do-install:
	${MKDIR} ${PREFIX}/snns/bin ${PREFIX}/snns/examples
	${INSTALL_PROGRAM} ${WRKSRC}/xgui/bin/other/xgui ${PREFIX}/snns/bin
	${INSTALL_PROGRAM} ${WRKSRC}/tools/bin/other/* ${PREFIX}/snns/bin
	${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>
OpenPOWER on IntegriCloud