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

PORTNAME=   fhist
PORTVERSION=    1.16
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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>