summaryrefslogtreecommitdiff
path: root/textproc/textutils/Makefile
blob: eca073fcfe75b83b2e8c4a05c812f9aed5f144f4 (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:	textutils
# Version required:	1.22
# Date created:		14 May 1998
# Whom:			Adrian Wontroba <aw1@stade.co.uk>
#
# $Id: Makefile,v 1.3 1999/01/28 09:47:07 asami Exp $
#

DISTNAME=	textutils-1.22
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	textutils

MAINTAINER=	aw1@stade.co.uk

GNU_CONFIGURE= yes

CONFIGURE_ARGS= --program-prefix=g

USE_GMAKE=	yes

MAN1=	gcat.1 gcksum.1 gcomm.1 gcsplit.1 gcut.1 gexpand.1\
		gfmt.1 gfold.1 ghead.1 gjoin.1 gmd5sum.1 gnl.1\
		god.1 gpaste.1 gpr.1 gsort.1 gsplit.1 gsum.1 gtac.1\
		gtail.1 gtr.1 gunexpand.1 guniq.1 gwc.1

post-install:
	@if [ ! -f ${PREFIX}/info/dir ]; then \
	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	 fi
	@install-info ${PREFIX}/info/textutils.info ${PREFIX}/info/dir

.include <bsd.port.mk>