freebsd-ports/lang/p5-JSAN/Makefile
Adam Weinberger 10f22ecd6d Clean up the rest of the perl@ Makefiles a bit.
- Remove dependencies on modules distributed as part of perl core
- Remove references to FreeBSD < 8 and perl < 5.16
- Ensure that DOCS and EXAMPLES options exist for ports installing
  PORTDOCS or PORTEXAMPLES
- Reduce unnecessary inclusions of bsd.port.options.mk by using
  OPTIONS helpers and the like
- Fix some cases where dependencies were only assigned to BUILD_DEPENDS
- Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS.
  This one happens in many, many ports. I only applied it in cases where
  it interfered with 'make test' but it should maybe be done more generally.
- Mute ${MKDIR} in installation
- Parethesize compound commands
- In www/p5-URI-Fetch, remove the ZLIB option that wasn't used
2015-03-13 17:29:58 +00:00

34 lines
1.1 KiB
Makefile

# Created by: chinsan
# $FreeBSD$
PORTNAME= JSAN
PORTVERSION= 0.07
PORTREVISION= 8
CATEGORIES= lang perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:CWEST
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= JavaScript Archive Network (JSAN) Shell
BUILD_DEPENDS= p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Class-DBI-DATA-Schema>=0:${PORTSDIR}/databases/p5-Class-DBI-DATA-Schema \
p5-Class-DBI-Loader>=0:${PORTSDIR}/databases/p5-Class-DBI-Loader \
p5-Class-DBI-SQLite>=0:${PORTSDIR}/databases/p5-Class-DBI-SQLite \
p5-Class-DBI>=0:${PORTSDIR}/databases/p5-Class-DBI \
p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-SQL-Translator>=0:${PORTSDIR}/databases/p5-SQL-Translator \
p5-XML-XPath>=0:${PORTSDIR}/textproc/p5-XML-XPath \
p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -e "40 s,new,new(\'jsan\')," ${WRKSRC}/lib/JSAN.pm
${FIND} ${WRKSRC}/lib -name "*.bak" -delete
.include <bsd.port.mk>