aboutsummaryrefslogtreecommitdiffstats
path: root/misc/sh-utils/Makefile
blob: 14b79770f310bfb050517e7533748a2fdfdb4ad3 (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
37
38
39
40
41
42
43
# New ports collection makefile for:    sh-utils
# Date created:             10 October 2000
# Whom:                 Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#

PORTNAME=   sh-utils
PORTVERSION=    2.0
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= sh-utils

MAINTAINER= clefevre@poboxes.com

LIB_DEPENDS=    intl.1:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=  yes

CONFIGURE_ARGS= --program-prefix=g

USE_GMAKE=  yes

INSTALL_INFO?=  install-info

MAN1=   gbasename.1 gchroot.1 gdate.1 gdirname.1 gecho.1 genv.1 \
    gexpr.1 gfalse.1 ggroups.1 ghostid.1 ghostname.1 gid.1 \
    glogname.1 gnice.1 gnohup.1 gpathchk.1 gpinky.1 gprintenv.1 \
    gprintf.1 gpwd.1 gsleep.1 gstty.1 gsu.1 gtee.1 gtest.1 \
    gtrue.1 gtty.1 guname.1 gusers.1 gwho.1 gwhoami.1 gyes.1

post-extract:
    @${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*

do-patch:
.if !defined(WITH_SUID)
    @${PERL} -pi -e "s/u\+s/u\+w/g" ${WRKSRC}/src/Makefile.in
.endif

post-install:
    @${INSTALL_INFO} ${PREFIX}/info/${PORTNAME}.info ${PREFIX}/info/dir

.include <bsd.port.mk>