# Created by: Roman Bogorodskiy # $FreeBSD$ PORTNAME= alltraxclock PORTVERSION= 2.0.2 PORTREVISION= 12 CATEGORIES= x11-clocks MASTER_SITES= http://perso.wanadoo.fr/alltrax/ \ LOCAL/novel DISTNAME= ${PORTNAME}2_0.2-1 MAINTAINER= ports@FreeBSD.org COMMENT= Analog clock plugin for gkrellm2 BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2 RUN_DEPENDS= gkrellm:sysutils/gkrellm2 USES= pkgconfig ALL_TARGET= alltraxclock.so PLIST_FILES= libexec/gkrellm2/plugins/alltraxclock.so WRKSRC= ${WRKDIR}/${PORTNAME}2_0.2/ post-patch: @${REINPLACE_CMD} -e 's|gcc|${CC}|;s|-O2||' ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/ ${INSTALL_PROGRAM} ${WRKSRC}/alltraxclock.so ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/ .include