From tkato432@yahoo.com  Tue May 28 18:31:06 2013
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 562D8FCB
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 28 May 2013 18:30:35 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169])
	by mx1.freebsd.org (Postfix) with ESMTP id 1069BD87
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 28 May 2013 18:30:35 +0000 (UTC)
Received: from localhost.localdomain (ZT028078.ppp.dion.ne.jp [59.128.28.78])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id DB2E923C031
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 29 May 2013 03:30:26 +0900 (JST)
Message-Id: <20130529032723.c8e88d4980f08502916083c6@yahoo.com>
Date: Wed, 29 May 2013 03:27:23 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: irc/pure-emacs21: Update MASTER_SITES

>Number:         179059
>Category:       ports
>Synopsis:       irc/pure-emacs21: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 28 18:40:01 UTC 2013
>Closed-Date:    Wed May 29 05:26:54 UTC 2013
>Last-Modified:  Wed May 29 05:30:06 UTC 2013
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support CC/CFLAGS properly
- Support STRIP properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/irc/pure-emacs21/Makefile irc/pure-emacs21/Makefile
--- /usr/ports/irc/pure-emacs21/Makefile	2012-11-08 07:07:18.000000000 +0900
+++ irc/pure-emacs21/Makefile	2013-05-29 00:00:00.000000000 +0900
@@ -1,15 +1,12 @@
-# New ports collection makefile for:	pure (for emacs20)
-# Date Created:		3 May 2001
-# Whom:			Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
-#
+# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
 # $FreeBSD: head/irc/pure-emacs21/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	pure
 PORTVERSION=	0.6
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	irc elisp
-MASTER_SITES=	http://his.luky.org/ftp/mirrors/irchat-pj/2.5/
+#MASTER_SITES=	http://gouketsu.net/irchat-pj/src/2.5/
+MASTER_SITES=	http://ftp.dti.ad.jp/pub/unix/net/irc/irchat-pj/2.5/
 PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
 DISTNAME=	pure-${PORTVERSION}p
 
@@ -20,6 +17,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Primitive Universal Relay-chat Environment
 
+LICENSE=	GPLv2 # (or later)
+
 USE_BZIP2=	yes
 USE_EMACS=	yes
 EMACS_PORT_NAME?=	emacs21
@@ -30,10 +29,25 @@
 MAKE_ARGS+=	LISPDIR=${PREFIX}/${LISPDIR} \
 		PACKDIR=${PREFIX}/${EMACS_LIBDIR}/site-packages \
 		BINDIR=${PREFIX}/${PUREBIN}
+MAKE_JOBS_SAFE=	yes
 
 PLIST_SUB=	PURELISP=${LISPDIR} \
 		EMACS_ONLY=${EMACS_ONLY} \
 		XEMACS_ONLY=${XEMACS_ONLY} \
 		PUREBIN=${PUREBIN}
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|CFLAGS=$$(CFLAGS)|| ; \
+		 s|LDFLAGS=$$(LDFLAGS)||' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e \
+		's|^\(CFLAGS\)=|\1?=| ; \
+		 s|^\(LDFLAGS\)=|\1?=| ; \
+		 s|^\(CC\)=|\1?=|' ${WRKSRC}/c/Makefile
+
+post-install:
+.for i in dccget dccput puresv
+	@${STRIP_CMD} ${PREFIX}/bin/${i}
+.endfor
+
 .include <bsd.port.mk>
diff -urN /usr/ports/irc/pure-emacs21/pkg-descr irc/pure-emacs21/pkg-descr
--- /usr/ports/irc/pure-emacs21/pkg-descr	2012-11-08 07:07:18.000000000 +0900
+++ irc/pure-emacs21/pkg-descr	2013-05-29 00:00:00.000000000 +0900
@@ -1,4 +1,6 @@
 pure - Primitive Universal Relay-chat Environment
 
-This package is used by irchat-pj, an IRC client
-which runs under Emacsen.
+This package is used by irchat-pj, an IRC client which runs under
+Emacsen.
+
+WWW: http://gouketsu.net/irchat-pj/
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 28 18:40:30 UTC 2013 
Responsible-Changed-Why:  
miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179059 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed May 29 05:26:53 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179059 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/179059: commit references a PR
Date: Wed, 29 May 2013 05:27:06 +0000 (UTC)

 Author: miwi
 Date: Wed May 29 05:26:53 2013
 New Revision: 319344
 URL: http://svnweb.freebsd.org/changeset/ports/319344
 
 Log:
   - Update MASTER_SITES
   - Add LICENSE
   - Add MAKE_JOBS_SAFE
   - Support CC/CFLAGS properly
   - Support STRIP properly
   
   PR:		179059
   Submitted by:	Ports Fury
 
 Modified:
   head/irc/pure-emacs21/Makefile   (contents, props changed)
   head/irc/pure-emacs21/pkg-descr   (contents, props changed)
 
 Modified: head/irc/pure-emacs21/Makefile
 ==============================================================================
 --- head/irc/pure-emacs21/Makefile	Wed May 29 05:25:49 2013	(r319343)
 +++ head/irc/pure-emacs21/Makefile	Wed May 29 05:26:53 2013	(r319344)
 @@ -1,15 +1,12 @@
 -# New ports collection makefile for:	pure (for emacs20)
 -# Date Created:		3 May 2001
 -# Whom:			Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
 -#
 +# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
  # $FreeBSD$
 -#
  
  PORTNAME=	pure
  PORTVERSION=	0.6
 -PORTREVISION=	6
 +PORTREVISION=	7
  CATEGORIES=	irc elisp
 -MASTER_SITES=	http://his.luky.org/ftp/mirrors/irchat-pj/2.5/
 +#MASTER_SITES=	http://gouketsu.net/irchat-pj/src/2.5/
 +MASTER_SITES=	http://ftp.dti.ad.jp/pub/unix/net/irc/irchat-pj/2.5/
  PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
  DISTNAME=	pure-${PORTVERSION}p
  
 @@ -20,6 +17,8 @@ PATCH_DIST_STRIP=	-p1
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	Primitive Universal Relay-chat Environment
  
 +LICENSE=	GPLv2 # (or later)
 +
  USE_BZIP2=	yes
  USE_EMACS=	yes
  EMACS_PORT_NAME?=	emacs21
 @@ -30,10 +29,25 @@ PUREBIN?=	bin
  MAKE_ARGS+=	LISPDIR=${PREFIX}/${LISPDIR} \
  		PACKDIR=${PREFIX}/${EMACS_LIBDIR}/site-packages \
  		BINDIR=${PREFIX}/${PUREBIN}
 +MAKE_JOBS_SAFE=	yes
  
  PLIST_SUB=	PURELISP=${LISPDIR} \
  		EMACS_ONLY=${EMACS_ONLY} \
  		XEMACS_ONLY=${XEMACS_ONLY} \
  		PUREBIN=${PUREBIN}
  
 +post-patch:
 +	@${REINPLACE_CMD} -e \
 +		's|CFLAGS=$$(CFLAGS)|| ; \
 +		 s|LDFLAGS=$$(LDFLAGS)||' ${WRKSRC}/Makefile
 +	@${REINPLACE_CMD} -e \
 +		's|^\(CFLAGS\)=|\1?=| ; \
 +		 s|^\(LDFLAGS\)=|\1?=| ; \
 +		 s|^\(CC\)=|\1?=|' ${WRKSRC}/c/Makefile
 +
 +post-install:
 +.for i in dccget dccput puresv
 +	@${STRIP_CMD} ${PREFIX}/bin/${i}
 +.endfor
 +
  .include <bsd.port.mk>
 
 Modified: head/irc/pure-emacs21/pkg-descr
 ==============================================================================
 --- head/irc/pure-emacs21/pkg-descr	Wed May 29 05:25:49 2013	(r319343)
 +++ head/irc/pure-emacs21/pkg-descr	Wed May 29 05:26:53 2013	(r319344)
 @@ -1,4 +1,6 @@
  pure - Primitive Universal Relay-chat Environment
  
 -This package is used by irchat-pj, an IRC client
 -which runs under Emacsen.
 +This package is used by irchat-pj, an IRC client which runs under
 +Emacsen.
 +
 +WWW: http://gouketsu.net/irchat-pj/
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
