aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WebService-NoPaste/Makefile
blob: 5f750d89cba7b80bde0fdbe2399822ddfbc91c4c (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
37
# Created by: Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
# $FreeBSD$

PORTNAME=   WebService-NoPaste
PORTVERSION=    0.03
PORTREVISION=   1
CATEGORIES= www perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Pastebin web application to upload snippets of text

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-IO-All>=0:${PORTSDIR}/devel/p5-IO-All \
        p5-Spiffy>=0:${PORTSDIR}/devel/p5-Spiffy \
        p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:=   ${BUILD_DEPENDS}

OPTIONS_DEFINE= X11
X11_DESC=   X11 Clipboard support

NO_ARCH=    yes
USE_PERL5=  configure
USES=       perl5 shebangfix

SHEBANG_FILES=  nopaste

X11_BUILD_DEPENDS=  p5-Clipboard>=0:${PORTSDIR}/x11/p5-Clipboard
X11_EXTRA_PATCHES_OFF=  ${FILESDIR}/extrapatch-lib-WebService-NoPaste.pm

post-patch:
    -@${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig

.include <bsd.port.mk>