aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fhist/Makefile
blob: 70a0db4394890b87c222e751c61e95407114284b (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
34
35
# New ports collection makefile for:    fhist
# Date created:             Jan 05 2000
# Whom:                 <jkoshy@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=   fhist
PORTVERSION=    1.14
CATEGORIES= devel
MASTER_SITES=   http://fhist.sourceforge.net/

MAINTAINER= jkoshy@freebsd.org
COMMENT=    Utilities to maintain file history, do file comparisions and merges

.include <bsd.port.pre.mk>

MAN1=       fcomp.1 fhist.1 fmerge.1
ALL_TARGET= binaries
INSTALL_TARGET= install-bin

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include

post-extract:
    cd ${WRKSRC}/lib/en/man1 && ${LN} -s ${WRKSRC}/etc/*.so .

post-install:
.for file in fhist fcomp fmerge
    ${STRIP_CMD} ${PREFIX}/bin/${file}
    (cd ${WRKSRC}/lib/en/man1; soelim ${file}.1 > tmp; \
    ${INSTALL_MAN} tmp ${PREFIX}/man/man1/${file}.1)
.endfor

.include <bsd.port.post.mk>