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
|
|
|
|
|
2012-06-21 06:43:27 +02:00
|
|
|
OPTIONS_DEFINE= PASTEBINS
|
|
|
|
PASTEBINS_DESC= Install default pastebins
|
|
|
|
OPTIONS_DEFAULT= PASTEBINS
|
2011-06-27 15:27:57 +02:00
|
|
|
|
2012-06-21 06:43:27 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2011-06-27 15:27:57 +02:00
|
|
|
|
2012-06-21 06:43:27 +02:00
|
|
|
.if ${PORT_OPTIONS:MPASTEBINS}
|
2011-06-27 15:27:57 +02:00
|
|
|
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}
|
2012-06-21 06:43:27 +02:00
|
|
|
.if ${PORT_OPTIONS:MPASTEBINS}
|
2011-06-27 15:27:57 +02:00
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR})
|
|
|
|
.endif
|
2008-03-06 13:58:20 +01:00
|
|
|
|
2012-06-21 06:43:27 +02:00
|
|
|
.include <bsd.port.mk>
|