*: Move manpages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Gleb Popov 2024-03-10 11:57:40 +03:00
parent d1d99c221e
commit bf8a0031d9
5 changed files with 22 additions and 10 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= ndiff
PORTVERSION= 2.00
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= ftp://ftp.math.utah.edu/pub/misc/
@ -14,7 +14,7 @@ USES= desthack
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
share/man/man1/${PORTNAME}.1.gz \
%%DATADIR%%/${PORTNAME}.awk
PORTDOCS= *.html *.pdf *.ps *.txt

View File

@ -1,6 +1,15 @@
--- Makefile.in.orig 2000-12-12 19:11:11.000000000 +0100
+++ Makefile.in 2014-02-02 11:56:29.000000000 +0100
@@ -191,9 +190,9 @@
--- Makefile.in.orig 2000-12-12 18:11:11 UTC
+++ Makefile.in
@@ -62,7 +62,7 @@ catdir = $(prefix)/man/cat$(manext)
prefix = @prefix@
bindir = $(prefix)/bin
catdir = $(prefix)/man/cat$(manext)
-mandir = $(prefix)/man/man$(manext)
+mandir = $(prefix)/share/man/man$(manext)
manext = 1
shrlibdir = $(shrlibtop)/$(PROGNAME)-$(VERSION)
shrlibtop = $(prefix)/share/lib/$(PROGNAME)
@@ -191,9 +191,9 @@ DEFINES = -DVERSION='"@VERSION@"' -DDATE='"@DATE@"' $
DEFINES = -DVERSION='"@VERSION@"' -DDATE='"@DATE@"' $(XDEFINES)
@ -12,7 +21,7 @@
LIBS = @LIBS@ $(XLIBS)
@@ -602,14 +601,12 @@
@@ -602,14 +602,12 @@ install-exe: uninstall-exe
if test -f $(PROGNAME) ; \
then \
$(CP) $(PROGNAME) $(bindir)/$(PROGNAME) ; \
@ -28,7 +37,7 @@
done ; \
fi
@@ -635,7 +632,7 @@
@@ -635,7 +633,7 @@ install-show:
install-show:
@echo ''
@echo Installed files...
@ -37,7 +46,7 @@
@$(LS) -l $(mandir)/$(PROGNAME).$(manext)
@if test -d $(shrlibdir) ; then $(LS) -lR $(shrlibdir)/* ; fi
@echo ''
@@ -703,7 +698,7 @@
@@ -703,7 +701,7 @@ uninstall-exe:
uninstall-exe:
-for f in $(PROGRAMS) ; \
do \

View File

@ -1,5 +1,6 @@
PORTNAME= pstacku
PORTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://kib.kiev.ua/kib/${PORTNAME}/ \
http://kib.kiev.ua/kib/${PORTNAME}/
@ -13,11 +14,12 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libunwind.so:devel/libunwind
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS+=--with-libunwind=${LOCALBASE}
LLD_UNSAFE= yes
ONLY_FOR_ARCHS= amd64 i386
CONFLICTS= pstack
PLIST_FILES= bin/pstack man/man1/pstack.1.gz
PLIST_FILES= bin/pstack share/man/man1/pstack.1.gz
.include <bsd.port.mk>

View File

@ -163,6 +163,7 @@ EXTRA_PATCHES+= ${WRKDIR}/${p}
.endfor
post-patch: .SILENT
${REINPLACE_CMD} -e 's|/man/man1|/share/man/man1|' ${WRKSRC}/nvml/man/Makefile
# We should support -CURRENT: kill the check (first #if __FreeBSD_version)
linenum=$$(${SED} -ne '/^#if __FreeBSD_version/ { = ; q ; }' \
${WRKSRC}/src/${NVSRC}/nv-freebsd.h) ; ${REINPLACE_CMD} \

View File

@ -94,7 +94,7 @@ lib32/libnvidia-gpucomp.so.1
lib32/libnvidia-tls.so
lib32/libnvidia-tls.so.1
lib32/vdpau/libvdpau_nvidia.so.1
man/man1/nvidia-smi.1.gz
share/man/man1/nvidia-smi.1.gz
@comment share/egl/egl_external_platform.d/10_nvidia_wayland.json
share/egl/egl_external_platform.d/15_nvidia_gbm.json
share/glvnd/egl_vendor.d/10_nvidia.json