c7383780db
might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2015/08/18 07:31:13 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= pinfo-0.6.1
|
|
PKGREVISION= 8
|
|
CATEGORIES= misc
|
|
MASTER_SITES= # http://alioth.debian.org/download.php/1502/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pinfo.alioth.debian.org/
|
|
COMMENT= Przemek's Info Viewer
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= msgfmt
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CPPFLAGS+= -DDFLT_INFOPATH="\"/usr/share/info:${PREFIX}/${PKGINFODIR}:${X11BASE}/${PKGINFODIR}:${LOCALBASE}/${PKGINFODIR}:/usr/local/info\""
|
|
|
|
EGDIR= ${PREFIX}/share/examples/pinfo
|
|
CONF_FILES= ${EGDIR}/pinforc ${PKG_SYSCONFDIR}/pinforc
|
|
INFO_FILES= yes
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pinfo
|
|
PKG_SUPPORTED_OPTIONS= pinfo-native-curses
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mpinfo-native-curses)
|
|
CONFIGURE_ARGS+= --with-vcurses
|
|
.else
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses}
|
|
.endif
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|