Skip to content

Commit

Permalink
sysutils/minipro: Move man page to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
Yasuhiro Kimura authored and Yasuhiro Kimura committed Mar 29, 2024
1 parent e3f1b04 commit c3064f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
6 changes: 3 additions & 3 deletions sysutils/minipro/Makefile
@@ -1,6 +1,6 @@
PORTNAME= minipro
DISTVERSION= 0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils

MAINTAINER= bofh@freebsd.org
Expand All @@ -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>
19 changes: 1 addition & 18 deletions sysutils/minipro/files/patch-Makefile
@@ -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
Expand All @@ -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

0 comments on commit c3064f4

Please sign in to comment.