# New ports collection makefile for:	epte
# Date created:				2010-09-01
# Whom:					Frederic Culot <frederic@culot.org>
#
# $FreeBSD: ports/science/epte/Makefile,v 1.2 2010/10/20 05:53:19 culot Exp $
#

PORTNAME=	epte
PORTVERSION=	2.0.7
CATEGORIES=	science
MASTER_SITES=	http://www.toddmiller.com/epte/

MAINTAINER=	culot@FreeBSD.org
COMMENT=	Electronic Periodic Table of the Elements

MAKEFILE=	makefile
ALL_TARGET=	${PORTNAME}

MAN1=		epte.1
WRKSRC=		${WRKDIR}/${PORTNAME}

PLIST_FILES=	bin/epte

post-patch:
	@${REINPLACE_CMD} 's|/usr|${PREFIX}|' ${WRKSRC}/epte.1

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/epte ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/epte.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>
