File:  [cvs.NetBSD.org] / pkgsrc / misc / pinfo / Makefile
Revision 1.36: download - view: text, annotated - select for diffs
Sat Apr 6 20:27:25 2013 UTC (11 years, 8 months ago) by rodent
Branches: MAIN
CVS tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, HEAD
Resolves:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.

# $NetBSD: Makefile,v 1.36 2013/04/06 20:27:25 rodent Exp $
#

DISTNAME=		pinfo-0.6.1
PKGREVISION=		6
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"

CVSweb <webmaster@jp.NetBSD.org>