1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

sysutils/minipro: Move man page to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Yasuhiro Kimura 2024-03-29 17:18:02 +09:00
parent e3f1b04c1c
commit c3064f417a
2 changed files with 4 additions and 21 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= minipro
DISTVERSION= 0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= bofh@freebsd.org
@ -21,12 +21,12 @@ GL_TAGNAME= e8244313c2558b41a390824e1f847f449ebd7fce
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed
PLIST_FILES= bin/minipro \
man/man1/minipro.1.gz \
share/man/man1/minipro.1.gz \
share/minipro/infoic.xml \
share/minipro/logicic.xml
post-install:
@${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man1/minipro.1
@${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/man/man1/minipro.1
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2023-12-03 05:11:49 UTC
+++ Makefile
@@ -1,18 +1,18 @@
@@ -1,11 +1,11 @@
# Install Configuration
# Your C compiler
@ -14,20 +14,3 @@
CPPFLAGS = -DSHARE_INSTDIR="\"$(SHARE_INSTDIR)\""
LDFLAGS =
# Normally minipro is installed to /usr/local. If you want to put it
# somewhere else, define that location here.
PREFIX ?= /usr/local
-MANDIR ?= $(PREFIX)/share/man
+MANDIR ?= $(PREFIX)/man
# Some older releases of MacOS need some extra library flags.
#EXTRA_LIBS += "-framework Foundation -framework IOKit"
@@ -73,7 +73,7 @@ INCLUDE_INSTDIR=$(DESTDIR)$(PREFIX)/include/libminipro
LIB_INSTDIR=$(DESTDIR)$(PREFIX)/lib
SHARE_INSTDIR=$(DESTDIR)$(PREFIX)/share/minipro
INCLUDE_INSTDIR=$(DESTDIR)$(PREFIX)/include/libminipro
-MAN_INSTDIR=$(DESTDIR)$(PREFIX)/share/man/man1
+MAN_INSTDIR=$(DESTDIR)$(PREFIX)/man/man1
UDEV_DIR=$(shell $(PKG_CONFIG) --define-variable=prefix=$(PREFIX) --silence-errors --variable=udevdir udev)
UDEV_RULES_INSTDIR=$(DESTDIR)$(UDEV_DIR)/rules.d