svn commit: r319344 - head/irc/pure-emacs21
Martin Wilke
miwi at FreeBSD.org
Wed May 29 05:26:54 UTC 2013
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 at eken.phys.nagoya-u.ac.jp>
-#
+# Created by: Yoichi NAKAYAMA <yoichi at 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 at 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/
More information about the svn-ports-all
mailing list