summaryrefslogtreecommitdiff
path: root/science/epte/Makefile
blob: 04ca867c7ceb9707fbc619b0daa02f8221d0d2e5 (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
# Created by: Frederic Culot <frederic@culot.org>
# $FreeBSD$

PORTNAME=	epte
PORTVERSION=	2.0.8
PORTREVISION=	1
CATEGORIES=	science
MASTER_SITES=	http://www.toddmiller.com/epte/

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

USES=		ncurses
MAKEFILE=	makefile
ALL_TARGET=	${PORTNAME}

WRKSRC=		${WRKDIR}/${PORTNAME}

PLIST_FILES=	bin/epte \
		man/man1/epte.1.gz

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

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

.include <bsd.port.mk>