# New ports collection makefile for: weatherget # Date created: 31 January 2007 # Whom: Andrew Pantyukhin # # $FreeBSD$ # PORTNAME= weatherget PORTVERSION= 0.4.0.1 CATEGORIES= astro MASTER_SITES= CENKES BERLIOS MAINTAINER= infofarmer@FreeBSD.org COMMENT= Command-line weather reporting tool USE_BZIP2= yes USE_PYTHON= yes NO_BUILD= yes PORTDOCS= AUTHORS CHANGELOG README PLIST_FILES= bin/${PORTNAME} MAN1= ${PORTNAME}.1 post-patch: @${REINPLACE_CMD} -e '/^#!/s|!.*|!${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME} do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/ .ifndef NOPORTDOCS @${INSTALL} -d ${DOCSDIR}/ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/ .endif .include