blob: 25ae2d633d5c03e5ef6b98ed85fa867603ccc8bb (
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.4 2001/03/26 00:41:59 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
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"
|