blob: a1606d5bab1c42545a861c519259d0e4be779a8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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>
|