mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
parent
b7fd1d6e3c
commit
d96177a940
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443761
1 changed files with 3 additions and 6 deletions
|
@ -11,17 +11,14 @@ PKGNAMEPREFIX= p5-
|
||||||
MAINTAINER= osa@FreeBSD.org
|
MAINTAINER= osa@FreeBSD.org
|
||||||
COMMENT= Perl5 backend for fix subtitles timing
|
COMMENT= Perl5 backend for fix subtitles timing
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if defined(WITH_SUBTITLES_SUBPLAY)
|
.if defined(WITH_SUBTITLES_SUBPLAY)
|
||||||
RUN_DEPENDS= p5-Prima>=0:x11-toolkits/p5-Prima \
|
RUN_DEPENDS= p5-Prima>=0:x11-toolkits/p5-Prima
|
||||||
p5-Time-HiRes>=0:devel/p5-Time-HiRes
|
|
||||||
|
|
||||||
PLIST_SUB+= SUBPLAY=""
|
PLIST_SUB+= SUBPLAY=""
|
||||||
MAN1+= subplay.1
|
|
||||||
.else
|
.else
|
||||||
PLIST_SUB+= SUBPLAY="@comment "
|
PLIST_SUB+= SUBPLAY="@comment "
|
||||||
|
|
||||||
|
@ -29,4 +26,4 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e "s|\('subs'\), 'subplay'|\1|" ${WRKSRC}/Makefile.PL
|
@${REINPLACE_CMD} -e "s|\('subs'\), 'subplay'|\1|" ${WRKSRC}/Makefile.PL
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue