1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/textproc/textutils/Makefile
Jeremy Lea 6bf486c13d Use the gettext port instead of own static libintl. No need to remove
share/locale, it is handled by the gettext port.

Approved by:	maintainer
2000-10-01 18:35:19 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: textutils
# Date created: 14 May 1998
# Whom: Adrian Wontroba <aw1@stade.co.uk>
#
# $FreeBSD$
#
PORTNAME= textutils
PORTVERSION= 2.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= textutils
MAINTAINER= aw1@stade.co.uk
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
MAN1= gcomm.1 gcsplit.1 gcut.1 gexpand.1 gfmt.1 ghead.1 \
gjoin.1 gmd5sum.1 gnl.1 gpaste.1 gpr.1 gsort.1 \
gptx.1 gsum.1 gtac.1 gtail.1 gtr.1 guniq.1 \
gtsort.1 gwc.1 gcat.1 gcksum.1 gfold.1 god.1 \
gsplit.1 gunexpand.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
post-install:
install-info ${PREFIX}/info/textutils.info ${PREFIX}/info/dir
.include <bsd.port.mk>