freebsd-ports/misc/gkrellshoot2/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

33 lines
860 B
Makefile

# Created by: Andrew Stuart <elitetek@tekrealm.net>
# $FreeBSD$
PORTNAME= gkrellshoot
PORTVERSION= 0.4.4
PORTREVISION= 10
CATEGORIES= misc
MASTER_SITES= SF/${PORTNAME}/GkrellM2.0%20Port/${PORTVERSION}
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= Screen locking and screen capture plugin for GKrellM 2
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2
RUN_DEPENDS= gkrellm:sysutils/gkrellm2 \
import:graphics/ImageMagick6
USES= pkgconfig
PLIST_FILES= libexec/gkrellm2/plugins/gkrellshoot.so
WRKSRC= ${WRKDIR}/gkrellShoot-${PORTVERSION}
ALL_TARGET= ${PORTNAME}.so
PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
post-patch:
@${REINPLACE_CMD} '/^CFLAGS/ s|= |= ${CFLAGS} |' ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${PLUGINDIR}
${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${PLUGINDIR}
.include <bsd.port.mk>