pkgsrc/misc/kchmviewer/options.mk
wiz c8049da19b Update to 5.3.
2011-01-14 tim <gyunaev@ulduzsoft.com>
    - Version 5.3 released.
    - Fixed spelling error (thx Razvan Visan)
    - Changed encodings order for Chinese and Japanese languages
    (thanks Kai-Chieh Ku)
    - Added Ukrainian localization (thanks Olexander Yatsenko)
    - Added Brazilian localization (thanks Márcio Moraes)
    - Fixed some grammatical errors (thanks Robin 'cheese' Lee)
    - Fixed webkit engine for buggy CHMs which do not have all
    content, as well as cases when external references cannot be
    loaded. Thanks to Kai-Chieh Ku
    - Added Mac support (thanks Serge Weinstock)
2011-01-21 22:30:46 +00:00

28 lines
751 B
Makefile

# $NetBSD: options.mk,v 1.6 2011/01/21 22:30:46 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kchmviewer
PKG_SUPPORTED_OPTIONS= kde4
.include "../../mk/bsd.options.mk"
PLIST_VARS+= kde4
.if !empty(PKG_OPTIONS:Mkde4)
USE_CMAKE= yes
USE_TOOLS+= msgfmt
BUILD_DEPENDS+= automoc4-[0-9]*:../../devel/automoc4
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../meta-pkgs/kde4/kde4.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../graphics/kdegraphics4/buildlink3.mk"
PLIST.kde4= yes
.else
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/kchmviewer ${DESTDIR}${PREFIX}/bin
.endif