1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/irc/fisg/Makefile
2014-02-27 14:59:46 +00:00

37 lines
1005 B
Makefile

# Created by: Pasi Hirvonen <psh@iki.fi>
# $FreeBSD$
PORTNAME= fisg
PORTVERSION= 0.3.12
CATEGORIES= irc
MASTER_SITES= http://www.tnsp.org/files/
MAINTAINER= psh@iki.fi
COMMENT= Fast IRC statistics generator
USES= gmake
BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PORTDOCS= README FAQ
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|^PREFIX|PREFIX?|' \
-e 's|^CC|CC?|' -e 's|^CFLAGS|CFLAGS?|' ${WRKSRC}/src/Makefile
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/data/; ${INSTALL_DATA} *.css *.gif *.png \
${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.cfg ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/users.cfg ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/fisg ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/src/fisg.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>