1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/astro/weatherget/Makefile
2008-09-07 00:19:05 +00:00

35 lines
804 B
Makefile

# New ports collection makefile for: weatherget
# Date created: 31 January 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= weatherget
PORTVERSION= 0.4.0.1
CATEGORIES= astro
MASTER_SITES= CENKES BERLIOS
MAINTAINER= ports@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 <bsd.port.mk>