aboutsummaryrefslogtreecommitdiffstats
path: root/math/numdiff/Makefile
blob: 6909404264513b9b5cfba105560aa48fe33639ef (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
32
33
# New ports collection makefile for:   numdiff
# Date created:        18 October 2006
# Whom:                Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   numdiff
PORTVERSION=    4.0.0
CATEGORIES= math textproc
MASTER_SITES=   http://download.savannah.gnu.org/releases/numdiff/

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Compare putatively similar files, ignoring small numeric differences

HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    --prefix=${PREFIX} --exec-prefix=${PREFIX} --infodir=${PREFIX}/info LIBS=-lm
WRKSRC= ${WRKDIR}/${PORTNAME}

INFO=   numdiff

pre-install:
.if defined(NOPORTDOCS)
    ${REINPLACE_CMD} -e 's,$$[(]MKDIR[)] $$[(]DOCDIR[)],,' \
        -e 's,$$[(]INSTALL[)] $$[(]DOCS[)] $$[(]DOCDIR[)],,' \
        ${WRKSRC}/Makefile
.endif

post-configure:
    ${REINPLACE_CMD} -e 's,$$[(]prefix[)]/doc/$$[(]PACKAGE[)],${DOCSDIR},' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>