3a79929fdb
PR: 241272 Submitted by: Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
33 lines
752 B
Makefile
33 lines
752 B
Makefile
# Created by: Chris Hutchinson <portmaster@bsdforge.com>
|
|
# $FreeBSD$
|
|
|
|
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>
|