summaryrefslogtreecommitdiff
path: root/misc/pinfo/Makefile
blob: ad1eb91b51298de6952e5da151262250238475b7 (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
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.5 2001/04/02 20:05:03 wiz 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_USES_MSGFMT=	yes

GNU_CONFIGURE=		yes
USE_LIBINTL=		yes

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

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

.include "../../mk/bsd.prefs.mk"

.if defined(PINFO_USE_NATIVE_CURSES) && ${PINFO_USE_NATIVE_CURSES} == "YES"
CONFIGURE_ARGS+=	--with-vcurses
.else
DEPENDS+=		ncurses>=5.0:../../devel/ncurses
CONFIGURE_ARGS+=	--with-ncurses=${LOCALBASE}
.endif

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