blob: f1780d821aa168a31dfe22c819ece0c249a72da7 (
plain) (
blame)
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
31
32
|
# Created by: Chris Hutchinson <portmaster@bsdforge.com>
# $FreeBSD$
PORTNAME= smi
PORTVERSION= 1.4
PORTREVISION= 1
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 BSD2CLAUSE
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
PORTDOCS= README.md
PLIST_FILES= bin/smi man/man1/smi.1.gz
USES= tar:xz
post-patch:
${REINPLACE_CMD} -e 's|^CC = .*|CC = ${CC}|' ${WRKSRC}/config.mk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/smi ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/smi.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|