staging mail/heirloom-mailx [for review]

2014-06-03 Thread Perry Hutchison
I noticed that mail/heirloom-mailx is no longer maintained, and has
not been staged.

It looks straightforward.  Did I miss anything?

--- Makefile2014-05-31 21:58:23.0 -0700
+++ Makefile-staged 2014-06-03 00:34:03.0 -0700
@@ -8,7 +8,7 @@
 MASTER_SITES=  SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
 PKGNAMEPREFIX= heirloom-
 
-MAINTAINER=po...@freebsd.org
+MAINTAINER=per...@pluto.rain.com
 COMMENT=   BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME 
extensions
 
 OPTIONS_DEFINE=IPV6 DOCS
@@ -25,10 +25,10 @@
CPPFLAGS=${CPPFLAGS} \
LDFLAGS=${LDFLAGS}
 
-MAN1=  ${PORTNAME}.1
 PORTDOCS=  AUTHORS COPYING ChangeLog README TODO
 
 PLIST_FILES=   bin/${PORTNAME} \
+   man/man1/${PORTNAME}.1 \
@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
@@ -36,7 +36,6 @@
 CPPFLAGS+= -I${LOCALBASE}/include
 LDFLAGS+=  -L${LOCALBASE}/lib
 
-NO_STAGE=  yes
 .include bsd.port.options.mk
 
 .if ${PORT_OPTIONS:MIPV6}
@@ -44,16 +43,13 @@
 .endif
 
 do-install:
-   ${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
+   ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+   ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+   ${INSTALL_DATA} ${WRKSRC}/nail.rc 
${STAGEDIR}${PREFIX}/etc/nail.rc.default
 .if ${PORT_OPTIONS:MDOCS}
-   @${MKDIR} ${DOCSDIR}
+   @${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS}
-   ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+   ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: staging mail/heirloom-mailx [for review]

2014-06-03 Thread Thomas Mueller
from Perry Hutchison per...@pluto.rain.com:

 I noticed that mail/heirloom-mailx is no longer maintained, and has
 not been staged.

 It looks straightforward.  Did I miss anything?

Yes, you missed something.  mail/heirloom-mailx has been supsrseded by Steffen 
Daode Nurpmeso's S-nail.

I haven't tried that yet, but remember a disturbing bug in heirloom-mailx; this 
was on Linux: e-newsletters from about.com each displayed as two messages.  I 
don't know if this is fixed in S-nail.

Try s-nail.sourceforge.net, you will be led to

 http://sdaoden.users.sourceforge.net/code.html

Tom

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: staging mail/heirloom-mailx [for review]

2014-06-03 Thread Christian Weisgerber
On 2014-06-03, Perry Hutchison per...@pluto.rain.com wrote:

  PLIST_FILES= bin/${PORTNAME} \
 + man/man1/${PORTNAME}.1 \
   @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

You can replace this @exec/@unexec dance with @sample.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-config.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html

-- 
Christian naddy Weisgerber  na...@mips.inka.de
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: staging mail/heirloom-mailx [for review]

2014-06-03 Thread Stefan Esser
Am 03.06.2014 17:09, schrieb Christian Weisgerber:
 On 2014-06-03, Perry Hutchison per...@pluto.rain.com wrote:
 
  PLIST_FILES=bin/${PORTNAME} \
 +man/man1/${PORTNAME}.1 \
  @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
 
 You can replace this @exec/@unexec dance with @sample.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-config.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html

I recently tried to find information on the semantics of the @sample
keyword, but could not easily find any ...

The pkg-create man-page contains just the (old) basic keywords, and
there is no man-page that mentions @sample or the other extensions.

Perhaps we should have a pkg-plist(5) that gives a concise overview
of all the relevant information found in the porters-handbook?

Regards, STefan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: staging mail/heirloom-mailx [for review]

2014-06-03 Thread Scot Hetzel
On Tue, Jun 3, 2014 at 2:37 AM, Perry Hutchison per...@pluto.rain.com wrote:
 I noticed that mail/heirloom-mailx is no longer maintained, and has
 not been staged.

 It looks straightforward.  Did I miss anything?

 --- Makefile2014-05-31 21:58:23.0 -0700
 +++ Makefile-staged 2014-06-03 00:34:03.0 -0700
 @@ -8,7 +8,7 @@
  MASTER_SITES=  SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
  PKGNAMEPREFIX= heirloom-

 -MAINTAINER=po...@freebsd.org
 +MAINTAINER=per...@pluto.rain.com
  COMMENT=   BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME 
 extensions

  OPTIONS_DEFINE=IPV6 DOCS
 @@ -25,10 +25,10 @@
 CPPFLAGS=${CPPFLAGS} \
 LDFLAGS=${LDFLAGS}

 -MAN1=  ${PORTNAME}.1
  PORTDOCS=  AUTHORS COPYING ChangeLog README TODO

  PLIST_FILES=   bin/${PORTNAME} \
 +   man/man1/${PORTNAME}.1 \
 @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
 @@ -36,7 +36,6 @@
  CPPFLAGS+= -I${LOCALBASE}/include
  LDFLAGS+=  -L${LOCALBASE}/lib

 -NO_STAGE=  yes
  .include bsd.port.options.mk

  .if ${PORT_OPTIONS:MIPV6}
 @@ -44,16 +43,13 @@
  .endif

  do-install:
 -   ${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
 +   ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 +   ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 
 ${STAGEDIR}${MAN1PREFIX}/man/man1
 +   ${INSTALL_DATA} ${WRKSRC}/nail.rc 
 ${STAGEDIR}${PREFIX}/etc/nail.rc.default

Install nail.rc as nail.rc.sample and then use the @sample keyword in
your PLIST_FILES.

  .if ${PORT_OPTIONS:MDOCS}
 -   @${MKDIR} ${DOCSDIR}
 +   @${MKDIR} ${STAGEDIR}${DOCSDIR}
  .for i in ${PORTDOCS}
 -   ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 +   ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
  .endfor
  .endif

 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org