aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-WebService-NoPaste/Makefile
blob: 3b98650fc05eccd38bde1f58633a6cf4fd09e6b2 (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:devel/p5-IO-All \
        p5-Spiffy>=0:devel/p5-Spiffy \
        p5-libwww>=0: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: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>