56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.16 2014/06/02 10:39:11 stsp Exp $
|
|
|
|
COMMENT= full featured DVD copy program
|
|
|
|
VERSION= 0.98.11
|
|
REVISION= 0
|
|
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 \
|
|
x11/gtk+2,-guic
|
|
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
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/scalable/apps/
|
|
${INSTALL_DATA} ${WRKSRC}/dvdrip-icon-hq.svg ${PREFIX}/share/icons/hicolor/scalable/apps/dvdrip.svg
|
|
|
|
.include <bsd.port.mk>
|