aboutsummaryrefslogtreecommitdiffstats
path: root/net/fb/Makefile
blob: 9ec41f82c19ea3377ca925d62a84684fac118c8c (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
# Created by: Greg Fitzgerald <gregf@hugops.pw>
# $FreeBSD$

PORTNAME=   fb
PORTVERSION=    2.0.3
CATEGORIES= net python
MASTER_SITES=   http://paste.xinu.at/data/client/

MAINTAINER= gregf@hugops.pw
COMMENT=    Client for paste.xinu.at

LICENSE=    GPLv3

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}pyliblzma>0:archivers/py-pyliblzma \
        ${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl \
        ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg

USES=   python shebangfix
NO_ARCH=    yes

SHEBANG_FILES=  ${WRKSRC}/fb

PLIST_FILES=    bin/fb man/man1/fb.1.gz

post-patch:
    @${REINPLACE_CMD} -e \
        's|PREFIX=/usr|PREFIX=${LOCALBASE}|g ; \
         s|share/man|man|g' ${WRKSRC}/Makefile

.include <bsd.port.mk>