freebsd-ports/textproc/smi/Makefile
2021-04-06 16:31:07 +02:00

31 lines
740 B
Makefile

# Created by: Chris Hutchinson <portmaster@bsdforge.com>
PORTNAME= smi
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= textproc www
MASTER_SITES= https://BSDforge.com/projects/source/textproc/${PORTNAME}/
MAINTAINER= portmaster@bsdforge.com
COMMENT= Simple Markdown Interpreter / filter for simplified markup dialect
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PORTDOCS= README.md
PLIST_FILES= bin/smi man/man1/smi.1.gz
USES= tar:xz uidfix
MAKEFILE= /usr/share/mk/bsd.prog.mk
MAKE_ENV= PROG="${PORTNAME}" FILES="${PORTDOCS}" \
BINDIR="${PREFIX}/bin" FILESDIR="${DOCSDIR}" \
MANDIR="${MANPREFIX}/man/man"
CFLAGS+= -DVERSION=${PORTVERSION}
OPTIONS_DEFINE= DOCS
pre-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>