1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/misc/pinfo/Makefile
Kevin Lo cc2cb0427e - Support libintl library properly
- Use LOCALBASE to refer external dependancy files

PR: 22891
Submitted by: Ports Fury
2000-11-17 14:51:05 +00:00

36 lines
765 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.1
CATEGORIES= misc
MASTER_SITES= http://zeus.polsl.gliwice.pl/~pborys/stable-version/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lgnuregex"
CONFIGURE_ARGS= --with-readline
MAN1= pinfo.1
pre-patch:
@${PERL} -pi -e \
's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
CONFIGURE_ARGS+= --with-ncurses=${LOCALBASE}
.endif
.include <bsd.port.post.mk>