summaryrefslogtreecommitdiff
path: root/science/euler/Makefile
blob: e0941365abe659c58fd2a833900fa7b219cebfe2 (plain) (blame)
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
# ex:ts=8
# Ports collection Makefile for:	euler
# Date created:			May 14, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	euler
PORTVERSION=	1.60.4
CATEGORIES=	science
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	euler

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	A program computes with real and complex numbers and matrices

USE_REINPLACE=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12
WRKSRC=		${WRKDIR}/${DISTNAME:R}/source
MAKEFILE=	makefile
ALL_TARGET=	# empty

post-patch:
	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g ; \
		s,gtk-config,${GTK_CONFIG},g ; \
		s,glib-config,${GLIB_CONFIG},g" ${WRKSRC}/${MAKEFILE}

post-install:
	@${STRIP_CMD} ${PREFIX}/bin/euler

.include <bsd.port.mk>