summaryrefslogtreecommitdiffstats
path: root/textproc/smi/Makefile
blob: 85edf5fc535b0bc15a3b80de6ed782d00c439c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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}

pre-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud