aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 12:15:59 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-25 12:15:59 +0000
commiteb3d95e1a9a5be2751c6421ad1e59a1e6aaf3e01 (patch)
tree1564412da3f78a34a192e4118b0744546f032f2b
parent4449b4f064b8a5dfefa7bebc8d9ffd4ddc5e0cd1 (diff)
downloadports-eb3d95e1a9a5be2751c6421ad1e59a1e6aaf3e01.tar.gz
ports-eb3d95e1a9a5be2751c6421ad1e59a1e6aaf3e01.zip
print/ttf2pt1: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--print/ttf2pt1/Makefile9
-rw-r--r--print/ttf2pt1/pkg-plist6
2 files changed, 8 insertions, 7 deletions
diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile
index 924fb78556cd..dbd2077a6627 100644
--- a/print/ttf2pt1/Makefile
+++ b/print/ttf2pt1/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ttf2pt1
PORTVERSION= 3.4.4
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= print
MASTER_SITES= SF
@@ -26,6 +26,7 @@ MAKE_ARGS= CC="${CC}" \
INSTDIR="${STAGEDIR}${PREFIX}" \
LIBS="${LIBS}" \
LIBXDIR="${STAGEDIR}${PREFIX}/bin" \
+ MANDIR="${STAGEDIR}${PREFIX}/share/man" \
OWNER=${BINOWN}
CPPFLAGS+= `pkg-config --cflags freetype2` -DUSE_FREETYPE
@@ -40,9 +41,9 @@ CFLAGS+= -Wno-error=incompatible-function-pointer-types
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttf2pt1
@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \
- ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \
- ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \
- ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_convert.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1/ttf2pt1_x2gs.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1/ttf2pt1.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1/ttf2pt1_convert.1 \
${STAGEDIR}${DATADIR}/scripts/convert
.include <bsd.port.mk>
diff --git a/print/ttf2pt1/pkg-plist b/print/ttf2pt1/pkg-plist
index 6be66625c806..cee446c3d3db 100644
--- a/print/ttf2pt1/pkg-plist
+++ b/print/ttf2pt1/pkg-plist
@@ -88,6 +88,6 @@ bin/ttf2pt1_x2gs
%%DATADIR%%/scripts/trans
%%DATADIR%%/scripts/unhtml
%%DATADIR%%/scripts/x2gs
-man/man1/ttf2pt1.1.gz
-man/man1/ttf2pt1_convert.1.gz
-man/man1/ttf2pt1_x2gs.1.gz
+share/man/man1/ttf2pt1.1.gz
+share/man/man1/ttf2pt1_convert.1.gz
+share/man/man1/ttf2pt1_x2gs.1.gz