0bb78c6c9d
their files via a custom do-install target.
30 lines
854 B
Makefile
30 lines
854 B
Makefile
# $NetBSD: Makefile,v 1.25 2008/03/03 19:31:20 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= gkrellstock-0.5.1
|
|
PKGNAME= gkrellm-stock-0.5.1
|
|
PKGREVISION= 8
|
|
CATEGORIES= finance
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellstock/}
|
|
|
|
MAINTAINER= cube@NetBSD.org
|
|
HOMEPAGE= http://gkrellstock.sourceforge.net/
|
|
COMMENT= GKrellM2 stock ticker plugin
|
|
|
|
DEPENDS+= p5-Finance-Quote>=1.08:../../finance/p5-Finance-Quote
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= perl:run pkg-config
|
|
WRKSRC= ${WRKDIR}/gkrellStock-0.5.1
|
|
BUILD_TARGET= gkrellstock.so
|
|
REPLACE_PERL= ${WRKSRC}/GetQuote2
|
|
INSTALLATION_DIRS= bin lib/gkrellm2/plugins
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/GetQuote2 ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/gkrellstock.so \
|
|
${DESTDIR}${PREFIX}/lib/gkrellm2/plugins
|
|
|
|
.include "../../sysutils/gkrellm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|