freebsd-ports/misc/gkrellshoot2/Makefile

34 lines
894 B
Makefile
Raw Normal View History

# Created by: Andrew Stuart <elitetek@tekrealm.net>
# $FreeBSD$
PORTNAME= gkrellshoot
PORTVERSION= 0.4.4
2012-06-01 07:26:28 +02:00
PORTREVISION= 8
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:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 \
import:${PORTSDIR}/graphics/ImageMagick
2014-06-13 00:42:39 +02:00
USES= pkgconfig
PLIST_FILES= libexec/gkrellm2/plugins/gkrellshoot.so
WRKSRC= ${WRKDIR}/gkrellShoot-${PORTVERSION}
ALL_TARGET= ${PORTNAME}.so
2014-06-13 00:42:39 +02:00
PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
post-patch:
@${REINPLACE_CMD} '/^CFLAGS/ s|= |= ${CFLAGS} |' ${WRKSRC}/Makefile
do-install:
2014-06-13 00:42:39 +02:00
@${MKDIR} ${PLUGINDIR}
${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${PLUGINDIR}
.include <bsd.port.mk>