diff options
Diffstat (limited to 'mail/autorespond/Makefile')
-rw-r--r-- | mail/autorespond/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/autorespond/Makefile b/mail/autorespond/Makefile index 50367b82b6c8..218c151c5838 100644 --- a/mail/autorespond/Makefile +++ b/mail/autorespond/Makefile @@ -6,8 +6,7 @@ # PORTNAME= autorespond -PORTVERSION= 2.0.3 -PORTREVISION= 1 +PORTVERSION= 2.0.4 CATEGORIES= mail MASTER_SITES= http://www.inter7.com/devel/ @@ -17,6 +16,14 @@ PATCHFILES= ${DISTNAME}-conf-strcasestr.patch MAINTAINER= roam@FreeBSD.org COMMENT= Simple autoresponder for qmail +MAN1= autorespond.1 + +.if defined(WITHOUT_MDOC_MANPAGE) +AR_MANPAGE= ${WRKSRC}/autorespond.1 +.else +AR_MANPAGE= ${FILESDIR}/autorespond.1 +.endif + post-patch: ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc ${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld @@ -24,5 +31,6 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/ + ${INSTALL_MAN} ${AR_MANPAGE} ${PREFIX}/man/man1/ .include <bsd.port.mk> |