2008-03-06 13:58:20 +01:00
|
|
|
# New ports collection makefile for: pastebinit
|
|
|
|
# Date created: Thu Feb 21 00:21:23 EST 2008
|
|
|
|
# Whom: comperr <comperr.extra@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pastebinit
|
2012-02-23 02:35:35 +01:00
|
|
|
PORTVERSION= 1.3
|
2008-03-06 13:58:20 +01:00
|
|
|
CATEGORIES= misc python
|
2012-02-23 02:35:35 +01:00
|
|
|
MASTER_SITES= https://launchpadlibrarian.net/93013084/
|
2008-03-06 13:58:20 +01:00
|
|
|
|
2011-08-21 22:51:40 +02:00
|
|
|
MAINTAINER= eadler@FreeBSD.org
|
2008-03-06 13:58:20 +01:00
|
|
|
COMMENT= A command line utility for pastebing
|
|
|
|
|
2011-06-27 15:27:57 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:${PORTSDIR}/devel/py-configobj
|
2008-03-06 13:58:20 +01:00
|
|
|
|
2011-06-27 15:27:57 +02:00
|
|
|
USE_PYTHON= yes
|
2008-03-06 13:58:20 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/pastebinit
|
|
|
|
|
2011-06-27 15:27:57 +02:00
|
|
|
OPTIONS= PASTEBINS "Install default pastebins" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_PASTEBINS)
|
|
|
|
PORTDATA= pastebin.d
|
|
|
|
.endif
|
|
|
|
|
2008-03-06 13:58:20 +01:00
|
|
|
do-install:
|
2011-06-27 15:27:57 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
|
|
|
|
.if defined(WITH_PASTEBINS)
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR})
|
|
|
|
.endif
|
2008-03-06 13:58:20 +01:00
|
|
|
|
2011-06-27 15:27:57 +02:00
|
|
|
.include <bsd.port.post.mk>
|