aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gwhich/Makefile
blob: 1c06e7c4236b95060a872b3fc8960cc445ec60a3 (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:    gwhich
# Date created:     20 September 2000
# Whom:         Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#

PORTNAME=   gwhich
PORTVERSION=    2.14
CATEGORIES= misc
MASTER_SITES=   http://www.xs4all.nl/~carlo17/which/
DISTNAME=   which-${PORTVERSION}

MAINTAINER= jeremy@external.org

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-prefix=g

MAN1=       gwhich.1

post-install:
    @install-info ${PREFIX}/info/which.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/examples/gwhich
    @${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${PREFIX}/share/examples/gwhich/EXAMPLES
.else
    @${SED} 's#share/examples/gwhich/EXAMPLES##' ${TMPPLIST} > ${WRKDIR}/PLIST.tmp
    @${SED} 's#@dirrm share/examples/gwhich##' ${WRKDIR}/PLIST.tmp > ${TMPPLIST}
.endif

.include <bsd.port.mk>