aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/smu/Makefile
blob: a198c9ce95946ed470f8111df890555b41bed4e9 (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
# Created by: Dennis Herrmann <dhn@FreeBSD.org>
# $FreeBSD$

PORTNAME=   smu
PORTVERSION=    1.3
CATEGORIES= textproc
MASTER_SITES=   http://s01.de/~tox/files/smu/ \
        http://mirror.4bit.ws/

MAINTAINER= dhn@FreeBSD.org
COMMENT=    A simple interpreter for a simplified markdown dialect

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

MAN1=   smu.1
PLIST_FILES=    bin/smu

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/config.mk

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/smu ${PREFIX}/bin
    @${INSTALL_MAN} ${WRKSRC}/smu.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>