8493a5819b
libiconv.
37 lines
857 B
Makefile
37 lines
857 B
Makefile
# New ports collection makefile for: pinfo
|
|
# Date created: 19 May 1999
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pinfo
|
|
PORTVERSION= 0.6.5
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://zeus.polsl.gliwice.pl/~pborys/stable-version/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
|
|
intl.1:${PORTSDIR}/devel/gettext-old
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-readline \
|
|
--with-localedir=${PREFIX}/share/locale
|
|
|
|
MAN1= pinfo.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 400010
|
|
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
|
|
CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's|<iconv.h>|<giconv.h>|g ; \
|
|
s|-liconv|-lgiconv|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|