freebsd-ports/multimedia/harvid/Makefile

32 lines
619 B
Makefile

# $FreeBSD$
PORTNAME= harvid
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.2
PORTREVISION= 3
CATEGORIES= multimedia
MAINTAINER= marcelbonnet@gmail.com
COMMENT= Extract still images from movies and serve them via HTTP
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libpng.so:graphics/png
USES= gmake jpeg localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= x42
LLD_UNSAFE= yes
MAKE_JOBS_UNSAFE= yes # https://github.com/x42/harvid/issues/5
PLIST_FILES= bin/harvid \
man/man1/harvid.1.gz
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/harvid
.include <bsd.port.mk>