Bug 179059 - irc/pure-emacs21: Update MASTER_SITES
Summary: irc/pure-emacs21: Update MASTER_SITES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 19:40 UTC by tkato432
Modified: 2013-05-29 06:30 UTC (History)
0 users

See Also:


Attachments
file.diff (2.16 KB, patch)
2013-05-28 19:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-05-28 19:40:01 UTC
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support CC/CFLAGS properly
- Support STRIP properly
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-28 19:40:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-05-29 06:26:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-29 06:27:06 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"