freebsd-ports/misc/owrep/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

27 lines
720 B
Makefile

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>