summaryrefslogtreecommitdiffstats
path: root/science/euler/Makefile
blob: b34ac439b19ee1f926ec725c2a01f3b4aa92a1bf (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
# 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

USE_REINPLACE=	yes
USE_GTK=	yes
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>
OpenPOWER on IntegriCloud