diff options
author | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-02-24 13:31:54 +0000 |
---|---|---|
committer | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-02-24 13:35:19 +0000 |
commit | 537cbffa5984539c50847e71989842f72cb3a118 (patch) | |
tree | 33623d60a992afe49793ea2e043556a57bc27d3b | |
parent | be907b012694b8884d90f67e5ca84812e32d24b8 (diff) | |
download | ports-537cbffa5984539c50847e71989842f72cb3a118.tar.gz ports-537cbffa5984539c50847e71989842f72cb3a118.zip |
multiple_ports: moved man to share/man
Update my ports:
graphics/mupdf
x11-wm/herbstluftwm
x11/stalonetray
Fix order of variables in graphics/mupdf.
Approved by: bofh (mentor)
Differential Revision: https://reviews.freebsd.org/D44052
-rw-r--r-- | graphics/mupdf/Makefile | 33 | ||||
-rw-r--r-- | graphics/mupdf/pkg-plist | 4 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/files/patch-CMakeLists.txt | 8 | ||||
-rw-r--r-- | x11-wm/herbstluftwm/pkg-plist | 6 | ||||
-rw-r--r-- | x11/stalonetray/Makefile | 2 | ||||
-rw-r--r-- | x11/stalonetray/pkg-plist | 2 |
7 files changed, 32 insertions, 24 deletions
diff --git a/graphics/mupdf/Makefile b/graphics/mupdf/Makefile index 6f7384feef7c..76df26e1d01f 100644 --- a/graphics/mupdf/Makefile +++ b/graphics/mupdf/Makefile @@ -1,6 +1,7 @@ PORTNAME= mupdf DISTVERSION= 1.23.9 DISTVERSIONSUFFIX= -source +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= http://www.mupdf.com/downloads/archive/ @@ -18,36 +19,40 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libjbig2dec.so:graphics/jbig2dec \ libopenjp2.so:graphics/openjpeg -USES= cpe compiler:c++11-lang gl gmake jpeg pkgconfig xorg -USE_XORG= x11 xcursor xext xinerama xrandr +USES= compiler:c++11-lang cpe gl gmake jpeg pkgconfig xorg +CPE_VENDOR= artifex USE_GL= gl glut USE_LDCONFIG= yes +USE_XORG= x11 xcursor xext xinerama xrandr -CPE_VENDOR= artifex +MAKE_ARGS= build=release \ + mandir=${PREFIX}/share/man \ + prefix=${PREFIX} \ + SOVERSION=${DISTVERSION} \ + verbose=yes \ + XCFLAGS+="-I${WRKSRC}/include/mupdf -fPIC" \ + XLIBS+="-L${LOCALBASE}/lib -L${WRKSRC}/build/release" +ALL_TARGET= all extra-libs # pkg-config to avoid the conflict with openjpeg15 CFLAGS+= `pkg-config --cflags libopenjp2` LDFLAGS+= `pkg-config --libs libjpeg libopenjp2` -ljbig2dec -MAKE_ARGS= build=release prefix=${PREFIX} mandir=${PREFIX}/man verbose=yes \ - XCFLAGS+="-I${WRKSRC}/include/mupdf -fPIC" \ - XLIBS+="-L${LOCALBASE}/lib -L${WRKSRC}/build/release" \ - SOVERSION=${DISTVERSION} -ALL_TARGET= all extra-libs +BINARY_ALIAS= bash=/bin/sh + +PLIST_SUB= SOVERSION=${PORTVERSION} -OPTIONS_DEFINE= DOCS JS SCROLL +OPTIONS_DEFINE= DOCS JS SCROLL OPTIONS_DEFAULT= SCROLL JS_DESC= JavaScript support (V8 engine) SCROLL_DESC= Build with scroll hacks -JS_LIB_DEPENDS= libv8.so:lang/v8 -JS_MAKE_ARGS= V8_PRESENT=1 V8LIBS=-lv8 +JS_LIB_DEPENDS= libv8.so:lang/v8 +JS_MAKE_ARGS= V8_PRESENT=1 \ + V8LIBS=-lv8 SCROLL_EXTRA_PATCHES= ${FILESDIR}/scroll_hack-platform__x11__pdfapp.c -BINARY_ALIAS= bash=/bin/sh -PLIST_SUB= SOVERSION=${PORTVERSION} - post-patch: @${REINPLACE_CMD} -e 's/-pipe -O2//' -e 's/-ldl//' ${WRKSRC}/Makerules diff --git a/graphics/mupdf/pkg-plist b/graphics/mupdf/pkg-plist index f22e40634d55..b05a489d69ee 100644 --- a/graphics/mupdf/pkg-plist +++ b/graphics/mupdf/pkg-plist @@ -76,8 +76,8 @@ lib/libmupdf-third.so lib/libmupdf-third.so.%%SOVERSION%% lib/libmupdf.so lib/libmupdf.so.%%SOVERSION%% -man/man1/mupdf.1.gz -man/man1/mutool.1.gz +share/man/man1/mupdf.1.gz +share/man/man1/mutool.1.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/README diff --git a/x11-wm/herbstluftwm/Makefile b/x11-wm/herbstluftwm/Makefile index 1bdec5e8677b..ecd0837e80ca 100644 --- a/x11-wm/herbstluftwm/Makefile +++ b/x11-wm/herbstluftwm/Makefile @@ -1,5 +1,6 @@ PORTNAME= herbstluftwm DISTVERSION= 0.9.5 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= https://herbstluftwm.org/tarballs/ diff --git a/x11-wm/herbstluftwm/files/patch-CMakeLists.txt b/x11-wm/herbstluftwm/files/patch-CMakeLists.txt index ac1cef86b9cc..df06cfaf8379 100644 --- a/x11-wm/herbstluftwm/files/patch-CMakeLists.txt +++ b/x11-wm/herbstluftwm/files/patch-CMakeLists.txt @@ -1,4 +1,4 @@ ---- CMakeLists.txt.orig 2021-02-17 10:06:29 UTC +--- CMakeLists.txt.orig 2022-07-30 05:55:21 UTC +++ CMakeLists.txt @@ -20,13 +20,13 @@ include(ccache) @@ -12,11 +12,11 @@ set(BINDIR bin) set(DATADIR share) -set(MANDIR ${DATADIR}/man) -+set(MANDIR ${CMAKE_INSTALL_PREFIX}/man) ++set(MANDIR ${CMAKE_INSTALL_PREFIX}/share/man) set(DOCDIR ${DATADIR}/doc/herbstluftwm) set(LICENSEDIR ${DOCDIR} CACHE PATH "Install path for license file") -@@ -36,7 +36,7 @@ set(ZSHCOMPLETIONDIR ${DATADIR}/zsh/site-functions +@@ -36,7 +36,7 @@ set(FISHCOMPLETIONDIR ${DATADIR}/fish/vendor_completio CACHE PATH "Install path for zsh completions file") set(FISHCOMPLETIONDIR ${DATADIR}/fish/vendor_completions.d CACHE PATH "Install path for fish completions file") @@ -25,7 +25,7 @@ CACHE PATH "Install path for bash completions file") ## do the actual work -@@ -47,7 +47,6 @@ add_subdirectory(share) +@@ -47,7 +47,6 @@ install(FILES NEWS DESTINATION ${DOCDIR}) ## install everything that was not installed from subdirectories install(FILES NEWS DESTINATION ${DOCDIR}) diff --git a/x11-wm/herbstluftwm/pkg-plist b/x11-wm/herbstluftwm/pkg-plist index 6d6b2aa6efcd..f23de1a17274 100644 --- a/x11-wm/herbstluftwm/pkg-plist +++ b/x11-wm/herbstluftwm/pkg-plist @@ -13,9 +13,9 @@ share/zsh/site-functions/_herbstclient %%PORTDOCS%%%%DOCSDIR%%/html/herbstclient.html %%PORTDOCS%%%%DOCSDIR%%/html/herbstluftwm-tutorial.html %%PORTDOCS%%%%DOCSDIR%%/html/herbstluftwm.html -%%PORTDOCS%%man/man1/herbstclient.1.gz -%%PORTDOCS%%man/man1/herbstluftwm.1.gz -%%PORTDOCS%%man/man7/herbstluftwm-tutorial.7.gz +%%PORTDOCS%%share/man/man1/herbstclient.1.gz +%%PORTDOCS%%share/man/man1/herbstluftwm.1.gz +%%PORTDOCS%%share/man/man7/herbstluftwm-tutorial.7.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dmenu.sh %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpbeautify.sh diff --git a/x11/stalonetray/Makefile b/x11/stalonetray/Makefile index 26fbf1908d65..93526080f64d 100644 --- a/x11/stalonetray/Makefile +++ b/x11/stalonetray/Makefile @@ -1,6 +1,7 @@ PORTNAME= stalonetray DISTVERSIONPREFIX= v DISTVERSION= 0.8.5 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= uzsolt@FreeBSD.org @@ -18,6 +19,7 @@ GH_ACCOUNT= kolbusa USE_XORG= sm ice x11 xpm GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-native-kde \ --disable-debug diff --git a/x11/stalonetray/pkg-plist b/x11/stalonetray/pkg-plist index 14d596c789b9..1302605a567d 100644 --- a/x11/stalonetray/pkg-plist +++ b/x11/stalonetray/pkg-plist @@ -1,3 +1,3 @@ bin/stalonetray -man/man1/stalonetray.1.gz +share/man/man1/stalonetray.1.gz %%EXAMPLESDIR%%/stalonetrayrc.sample |