print/ttf2pt1: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-25 13:15:59 +01:00
parent 4449b4f064
commit eb3d95e1a9
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
2 changed files with 8 additions and 7 deletions

View File

@ -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>

View File

@ -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