1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/textproc/smi/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

33 lines
751 B
Makefile

# Created by: Chris Hutchinson <portmaster@bsdforge.com>
# $FreeBSD$
PORTNAME= smi
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= textproc www
MASTER_SITES= http://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>