diff --git a/sysutils/minipro/Makefile b/sysutils/minipro/Makefile index 714483dfe8e1..0aa350bba30f 100644 --- a/sysutils/minipro/Makefile +++ b/sysutils/minipro/Makefile @@ -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 diff --git a/sysutils/minipro/files/patch-Makefile b/sysutils/minipro/files/patch-Makefile index bc0196a67841..f0e847fb685f 100644 --- a/sysutils/minipro/files/patch-Makefile +++ b/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 @@ -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