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

PORTNAME=   epte
PORTVERSION=    2.0.8
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}

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>