freebsd-ports/www/p5-WebService-NoPaste/Makefile
Sunpoet Po-Chuan Hsieh ca4782aab2 - Add LICENSE
- Remove leading indefinite article from COMMENT
- Sort *_DEPENDS
- Convert to new options helper
- Simplify Makefile
- Sort PLIST
- Remove Author line
- Use single space after WWW:
2014-07-31 18:54:19 +00:00

35 lines
833 B
Makefile

# Created by: Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
# $FreeBSD$
PORTNAME= WebService-NoPaste
PORTVERSION= 0.03
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
USE_PERL5= configure
USES= shebangfix perl5
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>