blob: 8c0891d772cc98c45903d1f18b7893549465464f (
plain)
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
|
PORTNAME= owrep
DISTVERSION= 1.2
CATEGORIES= misc
MASTER_SITES= http://www.ml1.org.uk/distfiles/ \
http://www.ancientgeek.org.uk/distfiles/
MAINTAINER= bob@eager.cx
COMMENT= Weather reporting program using openweathermap.org
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= localbase:ldflags zip
post-patch:
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \
${WRKSRC}/owrep.c ${WRKSRC}/owrep.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/owrep ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/owrep.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/owrep.conf.5 ${STAGEDIR}${PREFIX}/man/man5
${INSTALL_DATA} ${WRKSRC}/owrep.conf.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>
|