freebsd-ports/x11-fonts/fontpreview/Makefile
Mateusz Piotrowski 5c4ac6fe2c Switch to the official upstream 1.0.6 tag
Upstream has started to tag releases, so let's remove GH_TAGNAME. The
reason why distinfo changed is because upstream decided to incorporate some
small documentation changes after bumping the version number in the code.
2020-04-20 08:38:51 +00:00

43 lines
902 B
Makefile

# $FreeBSD$
PORTNAME= fontpreview
DISTVERSION= 1.0.6
PORTREVISION= 1
CATEGORIES= x11-fonts graphics
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Very customizable and minimal font previewer written in Bash
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= bash:shells/bash \
convert:graphics/ImageMagick7 \
fzf:textproc/fzf \
getopt>0:misc/getopt \
sxiv:graphics/sxiv \
xdotool:x11/xdotool
USES= shebangfix
USE_GITHUB= yes
GH_ACCOUNT= sdushantha
SHEBANG_FILES= ${PORTNAME}
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README.md extra/
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} 's|%%GETOPT%%|${LOCALBASE}/bin/getopt|' \
${WRKSRC}/${PORTNAME}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/extra
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/extra/* ${STAGEDIR}${DOCSDIR}/extra
.include <bsd.port.mk>