svn commit: r357638 - head/misc/gkrellshoot2
Pawel Pekala
pawel at FreeBSD.org
Thu Jun 12 22:42:40 UTC 2014
Author: pawel
Date: Thu Jun 12 22:42:39 2014
New Revision: 357638
URL: http://svnweb.freebsd.org/changeset/ports/357638
QAT: https://qat.redports.org/buildarchive/r357638/
Log:
- Add staging support
- Respect CFLAGS
Modified:
head/misc/gkrellshoot2/Makefile
Modified: head/misc/gkrellshoot2/Makefile
==============================================================================
--- head/misc/gkrellshoot2/Makefile Thu Jun 12 21:37:01 2014 (r357637)
+++ head/misc/gkrellshoot2/Makefile Thu Jun 12 22:42:39 2014 (r357638)
@@ -11,18 +11,23 @@ PKGNAMESUFFIX= 2
MAINTAINER= ports at FreeBSD.org
COMMENT= Screen locking and screen capture plugin for GKrellM 2
-USES= pkgconfig
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 \
import:${PORTSDIR}/graphics/ImageMagick
+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
-NO_STAGE= yes
do-install:
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/gkrellm2/plugins
+ @${MKDIR} ${PLUGINDIR}
+ ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${PLUGINDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list