# Created by: Chris Hutchinson # $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} pre-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .include