pkgsrc/finance/gkrellm1-stock/Makefile

29 lines
795 B
Makefile

# $NetBSD: Makefile,v 1.11 2006/02/05 23:09:06 joerg Exp $
DISTNAME= gkrellstock-0.2
PKGNAME= gkrellm-stock-0.2
PKGREVISION= 9
CATEGORIES= finance
MASTER_SITES= http://www.geocities.com/m_muthukumar/
MAINTAINER= damon@NetBSD.org
HOMEPAGE= http://www.geocities.com/m_muthukumar/gkrellstock.html
COMMENT= gkrellm stock ticker plugin
DEPENDS+= p5-Finance-Quote-1.*:../../finance/p5-Finance-Quote
WRKSRC= ${WRKDIR}/gkrellStock-0.2
USE_TOOLS+= perl:run
do-configure:
.for FILE in GetQuote Asia.pm
${CP} ${WRKSRC}/${FILE} ${WRKSRC}/${FILE}.ORIG
${SED} -e "s,/usr/bin/perl,${PERL5},g" \
< ${WRKSRC}/${FILE}.ORIG > ${WRKSRC}/${FILE}
.endfor
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
.include "../../sysutils/gkrellm1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"