summaryrefslogtreecommitdiff
path: root/misc/pinfo/Makefile
blob: 7934cc71ef27a80b40a28fda406fb394d04b660b (plain)
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
# $NetBSD: Makefile,v 1.3 2001/03/26 00:28:11 fredb Exp $
#

DISTNAME=		pinfo-0.6.0
PKGNAME=		pinfo-0.6.0nb1
CATEGORIES=		misc
MASTER_SITES=		http://zeus.polsl.gliwice.pl/~pborys/stable-version/

MAINTAINER=		fredb@netbsd.org
HOMEPAGE=		http://zeus.polsl.gliwice.pl/~pborys/
COMMENT=		Przemek's Info Viewer

BUILD_DEPENDS+=		msgfmt:../../devel/gettext
DEPENDS+=		ncurses>=5.0:../../devel/ncurses

GNU_CONFIGURE=		yes
USE_LIBINTL=		yes

CPPFLAGS+=		-DDFLT_INFOPATH='\"/usr/share/info:${X11BASE}/info:${LOCALBASE}/info:/usr/local/info\"'
CONFIGURE_ARGS+=	--with-ncurses=${LOCALBASE}
CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS}"

post-install:
	${INSTALL_DATA} ${WRKSRC}/src/pinforc ${PREFIX}/share/examples/

.include "../../mk/bsd.pkg.mk"