pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/lyx Fix PR 49680



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7cd31e1d15e
branches:  trunk
changeset: 308878:a7cd31e1d15e
user:      youri <youri%pkgsrc.org@localhost>
date:      Sun Jun 03 02:28:07 2018 +0000

description:
Fix PR 49680

diffstat:

 editors/lyx/Makefile     |  15 +++++++++------
 editors/lyx/PLIST        |   8 ++++----
 editors/lyx/PLIST.Darwin |   4 +++-
 3 files changed, 16 insertions(+), 11 deletions(-)

diffs (80 lines):

diff -r a5a8080a5936 -r a7cd31e1d15e editors/lyx/Makefile
--- a/editors/lyx/Makefile      Sun Jun 03 01:38:32 2018 +0000
+++ b/editors/lyx/Makefile      Sun Jun 03 02:28:07 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2018/04/29 21:31:35 adam Exp $
+# $NetBSD: Makefile,v 1.67 2018/06/03 02:28:07 youri Exp $
 
 DISTNAME=              lyx-2.2.2
 PKGREVISION=           6
@@ -58,11 +58,11 @@
 
 UNLIMIT_RESOURCES+=    datasize
 
-USE_LANGUAGES=         c c++
-GNU_CONFIGURE=         YES
-USE_TOOLS+=            gmake perl:run pkg-config xgettext
-USE_LIBTOOL=           YES
-USE_PKGLOCALEDIR=      YES
+USE_LANGUAGES=                 c c++
+GNU_CONFIGURE=                 YES
+USE_TOOLS+=                    gmake perl:run pkg-config xgettext
+USE_LIBTOOL=                   YES
+USE_PKGLOCALEDIR=              YES
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # not yet ported as of 1.6.10
 
 CXXFLAGS.Linux+=       -fpermissive
@@ -78,6 +78,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+PLIST_VARS+=           x11
+
 .if ${OPSYS} == "Darwin"
 GNU_CONFIGURE_PREFIX=  ${PREFIX}/Applications/LyX.app
 PLIST_SUBST+=          BIN_DIR=Applications/LyX.app/Contents/MacOS \
@@ -89,6 +91,7 @@
                        LYX=lyx \
                        MAN_DIR="${PKGMANDIR}" \
                        SHARE_DIR=share/lyx
+PLIST.x11=             yes
 .endif
 
 PRINT_PLIST_AWK+=      { sub(/bin\//, "$${BIN_DIR}/"); \
diff -r a5a8080a5936 -r a7cd31e1d15e editors/lyx/PLIST
--- a/editors/lyx/PLIST Sun Jun 03 01:38:32 2018 +0000
+++ b/editors/lyx/PLIST Sun Jun 03 02:28:07 2018 +0000
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.11 2016/12/02 19:07:16 maya Exp $
+@comment $NetBSD: PLIST,v 1.12 2018/06/03 02:28:07 youri Exp $
 ${BIN_DIR}/lyx
 ${BIN_DIR}/lyxclient
 ${BIN_DIR}/tex2lyx
 ${MAN_DIR}/man1/lyx.1
 ${MAN_DIR}/man1/lyxclient.1
 ${MAN_DIR}/man1/tex2lyx.1
-share/applications/lyx.desktop
-share/icons/hicolor/48x48/apps/lyx.png
-share/icons/hicolor/scalable/apps/lyx.svg
+${PLIST.x11}share/applications/lyx.desktop
+${PLIST.x11}share/icons/hicolor/48x48/apps/lyx.png
+${PLIST.x11}share/icons/hicolor/scalable/apps/lyx.svg
 share/locale/ar/LC_MESSAGES/${LYX}.mo
 share/locale/ca/LC_MESSAGES/${LYX}.mo
 share/locale/cs/LC_MESSAGES/${LYX}.mo
diff -r a5a8080a5936 -r a7cd31e1d15e editors/lyx/PLIST.Darwin
--- a/editors/lyx/PLIST.Darwin  Sun Jun 03 01:38:32 2018 +0000
+++ b/editors/lyx/PLIST.Darwin  Sun Jun 03 02:28:07 2018 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST.Darwin,v 1.1 2011/03/09 18:48:51 minskim Exp $
+@comment $NetBSD: PLIST.Darwin,v 1.2 2018/06/03 02:28:07 youri Exp $
 Applications/LyX.app/Contents/Info.plist
 Applications/LyX.app/Contents/Library/Spotlight/LyX-Metadata.mdimporter/Contents/Info.plist
 Applications/LyX.app/Contents/MacOS/lyxeditor
 Applications/LyX.app/Contents/PkgInfo
 Applications/LyX.app/Contents/Resources/COPYING
 Applications/LyX.app/Contents/Resources/LyX.icns
+Applications/LyX.app/Contents/Resources/LyX.sdef
 Applications/LyX.app/Contents/Resources/LyXapp.icns
+Applications/LyX.app/Contents/Resources/dmg-background.png
 Applications/LyX.app/Contents/Resources/lyxrc.dist



Home | Main Index | Thread Index | Old Index