openbsd-ports/multimedia/get_flash_videos/Makefile
2012-03-13 00:43:55 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2012/03/13 00:43:55 nigel Exp $
COMMENT= download flash video files from various sites
DISTNAME= App-get_flash_videos-1.24.20120309
PKGNAME= ${DISTNAME:S/App-//}
CATEGORIES= multimedia
HOMEPAGE= http://get-flash-videos.googlecode.com/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
CPAN_AUTHOR= MONSIEUR
# git checkout
#MASTER_SITES= http://spacehopper.org/mirrors/
MASTER_SITES= https://github.com/downloads/njtaylor/get-flash-videos/
BUILD_DEPENDS= devel/p5-Tie-IxHash
RUN_DEPENDS= devel/p5-Term-ReadKey \
devel/p5-Tie-IxHash \
multimedia/p5-AMF-Connection \
multimedia/p5-Data-AMF \
multimedia/p5-Storable-AMF \
security/p5-Crypt-Blowfish_PP \
security/p5-Crypt-Rijndael \
textproc/p5-XML-Simple \
www/p5-libwww \
www/p5-LWP-Protocol-socks \
www/p5-URI \
www/p5-WWW-Mechanize
pre-configure:
cd ${WRKSRC}; perl -pi -e \
's,/etc/get_flash_videosrc,${SYSCONFDIR}/get_flash_videosrc,g' \
doc/get_flash_videos.pod get_flash_videos
post-install:
cd ${WRKINST}; find . -name '*.orig' -exec rm {} +
.include <bsd.port.mk>