# $OpenBSD: Makefile,v 1.32 2017/11/21 00:13:00 naddy Exp $

COMMENT = 	allows files or commands to be sent to a supported pastebin

V =		1.5
DISTNAME =	pastebinit-${V}
CATEGORIES =	misc

HOMEPAGE =	https://launchpad.net/pastebinit
MASTER_SITES =	https://launchpad.net/pastebinit/trunk/${V}/+download/
SEPERATE_BUILD = Yes


#GPLv2, GPLv3
PERMIT_PACKAGE_CDROM =	Yes

NO_BUILD =	Yes
RUN_DEPENDS =	lang/python/3.6

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/pastebinit ${PREFIX}/bin/pastebinit
	${INSTALL_DATA_DIR} ${PREFIX}/share/pastebinit/pastebin.d
	${INSTALL_DATA} ${WRKSRC}/pastebin.d/* ${PREFIX}/share/pastebinit/pastebin.d/
	${INSTALL_DATA} ${WRKSRC}/pastebinit.xml ${PREFIX}/share/pastebinit/
.include <bsd.port.mk>
