diff options
Diffstat (limited to 'mail/heirloom-mailx/Makefile')
-rw-r--r-- | mail/heirloom-mailx/Makefile | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/mail/heirloom-mailx/Makefile b/mail/heirloom-mailx/Makefile index 0717b1329ea..63ad4e786b1 100644 --- a/mail/heirloom-mailx/Makefile +++ b/mail/heirloom-mailx/Makefile @@ -5,14 +5,15 @@ # $FreeBSD$ # -PORTNAME= nail -PORTVERSION= 11.25 +PORTNAME= mailx +PORTVERSION= 12.1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITE_SUBDIR= heirloom +PKGNAMEPREFIX= ${MASTER_SITE_SUBDIR}- MAINTAINER= ports@logvinov.com -COMMENT= BSD mail utility with MIME extensions +COMMENT= BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME extensions USE_BZIP2= yes USE_ICONV= yes @@ -24,21 +25,29 @@ MAKE_ARGS= PREFIX="${PREFIX}" \ LDFLAGS="${LDFLAGS}" \ IPv6="-DHAVE_IPv6_FUNCS" -MAN1= nail.1 -PLIST_FILES= bin/nail \ - "@unexec if cmp -s %D/etc/nail.rc %D/etc/nail.rc.default; then rm -f %D/etc/nail.rc; fi " \ +MAN1= ${PORTNAME}.1 +PORTDOCS= AUTHORS COPYING ChangeLog README TODO + +PLIST_FILES= bin/${PORTNAME} \ + "@unexec if cmp -s %D/etc/nail.rc %D/etc/nail.rc.default; then ${RM} -f %D/etc/nail.rc; fi " \ "etc/nail.rc.default" \ - "@exec [ -f %B/nail.rc ] || cp %B/%f %B/nail.rc" + "@exec [ -f %B/nail.rc ] || ${CP} %B/%f %B/nail.rc" CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/nail.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc/nail.rc.default .if !exists(${PREFIX}/etc/nail.rc) ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc .endif +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> |