aboutsummaryrefslogtreecommitdiffstats
path: root/misc/freecode-submit/Makefile
blob: c97ad4401a5192b448b4a961e73acb7ea9e921e4 (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
# $FreeBSD$

PORTNAME=   freecode-submit
PORTVERSION=    2.7
CATEGORIES= misc
MASTER_SITES=   http://www.c-s.li/ports/ \
        http://www.catb.org/~esr/freecode-submit/
        

MAINTAINER= cs@FreeBSD.org
COMMENT=    Submission of updates to Freecode via its JSON API

LICENSE=    BSD4CLAUSE

USE_PYTHON= yes
NO_BUILD=   yes

PLIST_FILES=    bin/freecode-submit man/man1/freecode-submit.1.gz

.include <bsd.port.pre.mk>

do-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/freecode-submit ${STAGEDIR}${PREFIX}/bin
    ${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/freecode-submit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>