aboutsummaryrefslogtreecommitdiff
path: root/devel/rvi/Makefile
blob: 1da6ccda4dd0a80f88283671e0ec1f21ec81e161 (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
PORTNAME=	rvi
PORTVERSION=	1.0.0
CATEGORIES=	devel
MASTER_SITES=	LOCAL/petef \
		http://www.cs.ru.ac.za/research/g98t4414/static/home/rvi/
DISTNAME=	rvi

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple interface to RCS
WWW=		https://www.cs.ru.ac.za/research/g98t4414/static/home/rvi/index.html

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=	bin/rvi
PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

do-build:
	@cd ${WRKSRC} && ${CXX} -I. ${CXXFLAGS} -o rvi src/rvi.cc

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rvi ${STAGEDIR}${PREFIX}/bin/

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/rvi.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>