1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/misc/pastebinit/Makefile
Eitan Adler 3e5a6323ce Update to 1.3
Remove local patches because the program respects PREFIX and friends now (acc' to upstream)

Changes:

- Respects PREFIX
- Misc changes
2012-02-23 01:35:35 +00:00

38 lines
855 B
Makefile

# 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
PORTVERSION= 1.3
CATEGORIES= misc python
MASTER_SITES= https://launchpadlibrarian.net/93013084/
MAINTAINER= eadler@FreeBSD.org
COMMENT= A command line utility for pastebing
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:${PORTSDIR}/devel/py-configobj
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/pastebinit
OPTIONS= PASTEBINS "Install default pastebins" on
.include <bsd.port.pre.mk>
.if defined(WITH_PASTEBINS)
PORTDATA= pastebin.d
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.if defined(WITH_PASTEBINS)
(cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR})
.endif
.include <bsd.port.post.mk>