openbsd-ports/graphics/dvdrip/Makefile
stsp 6ef6e2e743 Update to dvdrip-0.98.11. Add missing run deps on subtitleripper and xine,
install .desktop icon, provide useful default for DVD device name, and make
drive close/eject buttons work. Also tweak the Linux-specific DVD mounting
code which is required for subtitle ripping -- it now supports an fstab entry
or automatically mounts at a temporary dir, both intended for use with sysctl
kern.usermount=1 since running dvdrip as root is... not recommended.
ok sthen@
2013-04-06 18:36:21 +00:00

52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2013/04/06 18:36:21 stsp Exp $
COMMENT= full featured DVD copy program
VERSION= 0.98.11
DISTNAME= dvdrip-${VERSION}
CATEGORIES= graphics audio multimedia perl5
HOMEPAGE= http://www.exit1.org/dvdrip/
# Artistic and GPL
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c
MASTER_SITES= http://www.exit1.org/dvdrip/dist/
RUN_DEPENDS= graphics/ImageMagick \
devel/desktop-file-utils \
devel/p5-Event-ExecFlow \
multimedia/transcode \
multimedia/subtitleripper \
multimedia/xine-ui \
net/fping \
net/p5-Event-RPC \
x11/p5-Gtk2-Ex-FormFactory \
multimedia/ogmtools \
multimedia/lsdvd>=0.15
BUILD_DEPENDS= devel/p5-Event-ExecFlow \
net/p5-Event-RPC \
x11/p5-Gtk2-Ex-FormFactory
CONFIGURE_STYLE=perl
USE_GROFF = Yes
CONFIGURE_ENV= SKIP_UNPACK_REQUIRED_MODULES=1
TEST_DEPENDS=x11/p5-Gtk2-Ex-FormFactory
TEST_FLAGS= HOME=${TMPDIR}
pre-build:
@perl -pi -e "s,/usr/sbin/fping,${LOCALBASE}/sbin/fping,g" \
${WRKSRC}/lib/Video/DVDRip/Cluster/Master.pm \
${WRKSRC}/lib/Video/DVDRip/Depend.pm
post-install:
mv ${PREFIX}/${P5SITE}/LocaleData ${PREFIX}/share/locale
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/dvdrip.desktop ${PREFIX}/share/applications
rm -f ${PREFIX}/${P5SITE}/Video/DVDRip/Config.pm.orig
rm -f ${PREFIX}/${P5SITE}/Video/DVDRip/GUI/Project/Title.pm.orig
.include <bsd.port.mk>