aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/py-send2trash/Makefile
blob: 377d89b36f79161569d1394ddf3a5aa0b54c2e87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$

PORTNAME=   send2trash
PORTVERSION=    1.3.0
CATEGORIES= deskutils
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   Send2Trash-${PORTVERSION}
DIST_SUBDIR=    python

MAINTAINER= nemysis@gmx.ch
COMMENT=    Small package that sends files to the Trash

LICENSE=    BSD

USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYDISTUTILS_PKGNAME=    Send2Trash

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%

PORTDOCS=   CHANGES.rst README.rst

OPTIONS_DEFINE= DOCS

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>