Skip to content

Commit

Permalink
print/ttf2pt1: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 25, 2024
1 parent 4449b4f commit eb3d95e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions print/ttf2pt1/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ttf2pt1
PORTVERSION= 3.4.4
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= print
MASTER_SITES= SF

Expand All @@ -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
Expand All @@ -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>
6 changes: 3 additions & 3 deletions print/ttf2pt1/pkg-plist
Expand Up @@ -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

0 comments on commit eb3d95e

Please sign in to comment.