openbsd-ports/multimedia/subrip/Makefile

42 lines
970 B
Makefile
Raw Normal View History

2012-03-21 19:49:02 -04:00
# $OpenBSD: Makefile,v 1.10 2012/03/21 23:50:19 fgsch Exp $
COMMENT= extract subtitles from dvds
DISTNAME= ogmrip-0.10.0
2010-10-24 17:40:38 -04:00
PKGNAME= subrip-0.10.0
2012-03-21 19:49:02 -04:00
REVISION= 2
CATEGORIES= multimedia converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ogmrip/}
HOMEPAGE= http://ogmrip.sourceforge.net/
MAINTAINER= Marc Espie <espie@openbsd.org>
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WRKDIST= ${WRKDIR}/${DISTNAME}/subrip
do-configure:
ln -sf ${FILESDIR}/Makefile ${WRKDIST}
2010-11-19 02:23:05 -05:00
RUN_DEPENDS= graphics/gocr \
x11/mplayer
WANTLIB= c m
2010-11-19 02:23:05 -05:00
USE_GROFF = Yes
NO_REGRESS= Yes
FAKE_FLAGS= BINDIR=${TRUEPREFIX}/bin \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
post-install:
${INSTALL_PROGRAM} ${FILESDIR}/subrip ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/subrip.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${FILESDIR}/srttool.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${FILESDIR}/sub2pgm.1 ${PREFIX}/man/man1
.include <bsd.port.mk>