73ca9e7230
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke ld via $PATH. Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE is active to use ld.bfd for these ports. Approved by: portmgr (antoine) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14876
30 lines
605 B
Makefile
30 lines
605 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= harvid
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.8.2
|
|
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 \
|
|
libpng16.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>
|