Remove Perl core modules

- While I'm here:
  - Add NO_ARCH
  - Remove MAN1
  - Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk

With hat:	perl
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-06-17 10:02:37 +00:00
parent b7fd1d6e3c
commit d96177a940
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443761

View File

@ -11,17 +11,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= osa@FreeBSD.org
COMMENT= Perl5 backend for fix subtitles timing
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if defined(WITH_SUBTITLES_SUBPLAY)
RUN_DEPENDS= p5-Prima>=0:x11-toolkits/p5-Prima \
p5-Time-HiRes>=0:devel/p5-Time-HiRes
RUN_DEPENDS= p5-Prima>=0:x11-toolkits/p5-Prima
PLIST_SUB+= SUBPLAY=""
MAN1+= subplay.1
.else
PLIST_SUB+= SUBPLAY="@comment "
@ -29,4 +26,4 @@ post-patch:
@${REINPLACE_CMD} -e "s|\('subs'\), 'subplay'|\1|" ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>