aboutsummaryrefslogtreecommitdiffstats
path: root/science/epte/Makefile
blob: 5bc3952b179315ff9245a863e90da7cc54c7f4b9 (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
# New ports collection makefile for:    epte
# Date created:             2010-09-01
# Whom:                 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}

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>