mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
d96177a940
- 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
30 lines
555 B
Makefile
30 lines
555 B
Makefile
# Created by: osa
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Subtitles
|
|
PORTVERSION= 1.04
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia perl5
|
|
MASTER_SITES= CPAN/Prima/KARASIK
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
COMMENT= Perl5 backend for fix subtitles timing
|
|
|
|
NO_ARCH= yes
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
.if defined(WITH_SUBTITLES_SUBPLAY)
|
|
RUN_DEPENDS= p5-Prima>=0:x11-toolkits/p5-Prima
|
|
|
|
PLIST_SUB+= SUBPLAY=""
|
|
.else
|
|
PLIST_SUB+= SUBPLAY="@comment "
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|\('subs'\), 'subplay'|\1|" ${WRKSRC}/Makefile.PL
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|