pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/kchmviewer



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sun Oct 27 17:23:35 UTC 2019

Modified Files:
        pkgsrc/misc/kchmviewer: Makefile PLIST
Removed Files:
        pkgsrc/misc/kchmviewer: options.mk

Log Message:
kchmviewer: Drop qt4 and kde4 build options

Keep the qt5 option as the only one.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/misc/kchmviewer/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/kchmviewer/PLIST
cvs rdiff -u -r1.10 -r0 pkgsrc/misc/kchmviewer/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/kchmviewer/Makefile
diff -u pkgsrc/misc/kchmviewer/Makefile:1.91 pkgsrc/misc/kchmviewer/Makefile:1.92
--- pkgsrc/misc/kchmviewer/Makefile:1.91        Wed Sep 18 14:17:12 2019
+++ pkgsrc/misc/kchmviewer/Makefile     Sun Oct 27 17:23:34 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.91 2019/09/18 14:17:12 ryoon Exp $
+# $NetBSD: Makefile,v 1.92 2019/10/27 17:23:34 kamil Exp $
 
 DISTNAME=              kchmviewer-7.2.1
-PKGREVISION=           45
+PKGREVISION=           46
 CATEGORIES=            misc x11
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=kchmviewer/}
 
@@ -25,8 +25,21 @@ SUBST_STAGE.zip=     post-configure
 
 CHECK_PORTABILITY_SKIP=        build-win32-mingw.sh
 
-.include "options.mk"
+INSTALLATION_DIRS=      bin
+
+do-configure:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake
+       cd ${WRKSRC}/lib && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake
+       cd ${WRKSRC}/lib/libebook && ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/kchmviewer ${DESTDIR}${PREFIX}/bin
 
-.include "../../devel/chmlib/buildlink3.mk"
 .include "../../archivers/libzip/buildlink3.mk"
+.include "../../devel/chmlib/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtwebkit/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/kchmviewer/PLIST
diff -u pkgsrc/misc/kchmviewer/PLIST:1.4 pkgsrc/misc/kchmviewer/PLIST:1.5
--- pkgsrc/misc/kchmviewer/PLIST:1.4    Fri Jan 21 22:30:46 2011
+++ pkgsrc/misc/kchmviewer/PLIST        Sun Oct 27 17:23:34 2019
@@ -1,15 +1,2 @@
-@comment $NetBSD: PLIST,v 1.4 2011/01/21 22:30:46 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/10/27 17:23:34 kamil Exp $
 bin/kchmviewer
-${PLIST.kde4}share/applications/kde4/kchmviewer.desktop
-${PLIST.kde4}share/locale/cs/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/fr/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/hu/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/it/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/nl/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/pt_BR/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/ru/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/sv/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/tr/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/uk/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/zh_CN/LC_MESSAGES/kchmviewer.mo
-${PLIST.kde4}share/locale/zh_TW/LC_MESSAGES/kchmviewer.mo



Home | Main Index | Thread Index | Old Index