1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2016-02-07 11:33:24 +00:00
parent 912792132a
commit 1367b64335
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408370

View File

@ -11,17 +11,21 @@ DISTNAME= rvi
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple interface to RCS
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/rvi
PORTDOCS= rvi.txt
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-build:
@cd ${WRKSRC}/&&${CXX} -I. ${CFLAGS} -o rvi src/rvi.cc
@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}
cd ${WRKSRC}/doc/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/rvi.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>