freebsd-ports/net/fb/Makefile
2020-03-08 17:01:46 +00:00

33 lines
779 B
Makefile

# Created by: Greg Fitzgerald <gregf@hugops.pw>
# $FreeBSD$
PORTNAME= fb
PORTVERSION= 2.0.4
CATEGORIES= net python
MASTER_SITES= http://paste.xinu.at/data/client/
MAINTAINER= gregf@hugops.pw
COMMENT= Client for paste.xinu.at
LICENSE= GPLv3
DEPRECATED= Uses deprecated version of python
EXPIRATION_DATE= 2020-09-15
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyliblzma>0:archivers/py-pyliblzma@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
USES= python:2.7 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>