aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-04-16 10:05:45 +0800
committerache <ache@FreeBSD.org>2001-04-16 10:05:45 +0800
commitce12c7fa3b4a8004400808efbd770b69ca065dcf (patch)
treed33b9996a1561b48e4a1da06e422ff67ac737215 /mail
parentf0fa5978c88f2a394d12bd941f6a3c729a34e24a (diff)
downloadfreebsd-ports-gnome-ce12c7fa3b4a8004400808efbd770b69ca065dcf.tar.gz
freebsd-ports-gnome-ce12c7fa3b4a8004400808efbd770b69ca065dcf.tar.zst
freebsd-ports-gnome-ce12c7fa3b4a8004400808efbd770b69ca065dcf.zip
Generate manpage now using pod2man
Portlint
Diffstat (limited to 'mail')
-rw-r--r--mail/rlytest/Makefile16
1 files 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}