1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/net/fb/Makefile
Antoine Brodin 38308bbce8 - Add explicit FLAVOR to a few dependencies
- Remove FLAVOR from py-docutils dependency in comms/uhd, in this case
  it needs the rst2html command, not the docutils module
- Mark some ports as not compatible with python3
2017-12-03 08:25:31 +00:00

31 lines
704 B
Makefile

# 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@${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>