From 2a2f468ddb0f9b6c1a931ca2697e05b7cc992022 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 16 Apr 2001 02:05:45 +0000 Subject: [PATCH] Generate manpage now using pod2man Portlint --- mail/rlytest/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/mail/rlytest/Makefile b/mail/rlytest/Makefile index 932b121edcb4..f4d81a7416d6 100644 --- a/mail/rlytest/Makefile +++ b/mail/rlytest/Makefile @@ -7,22 +7,30 @@ PORTNAME= rlytest PORTVERSION= 1.20 +PORTREVISION= 1 CATEGORIES= mail security MASTER_SITES= http://www.unicom.com/sw/rlytest/ DISTNAME= ${PORTNAME} EXTRACT_SUFX= +EXTRACT_ONLY= # defined MAINTAINER= paul@it.ca USE_PERL5= yes -EXTRACT_ONLY= # defined -NO_BUILD= + +NO_WRKSUBDIR= yes + +MAN1= rlytest.1 pre-patch: - perl -pe 's,^#!/usr/local/bin/perl$$,#!/usr/bin/perl,' < ${_DISTDIR}${DISTFILES} > ${WRKDIR}/rlytest + perl -pe 's,^#!/usr/local/bin/perl$$,#!/usr/bin/perl,' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/rlytest + +do-build: + pod2man ${WRKSRC}/rlytest ${WRKSRC}/rlytest.1 do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/rlytest ${PREFIX}/bin/rlytest + ${INSTALL_SCRIPT} ${WRKSRC}/rlytest ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/rlytest.1 ${PREFIX}/man/man1/ post-install: ${CAT} ${PKGMESSAGE}