aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-05-29 05:26:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-05-29 05:26:53 +0000
commit33fb7c446616b9bdcbc60ea80b2ebd062d229306 (patch)
treedee696cd18393a445eead3c84e6286a081f797f1 /irc
parent727fa1d184cd81a76194d5881206f308f4a7d3b8 (diff)
downloadports-33fb7c446616b9bdcbc60ea80b2ebd062d229306.tar.gz
ports-33fb7c446616b9bdcbc60ea80b2ebd062d229306.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/pure-emacs21/Makefile28
-rw-r--r--irc/pure-emacs21/pkg-descr6
2 files changed, 25 insertions, 9 deletions
diff --git a/irc/pure-emacs21/Makefile b/irc/pure-emacs21/Makefile
index 063411f7deb7..ec5e88bcdd0a 100644
--- a/irc/pure-emacs21/Makefile
+++ b/irc/pure-emacs21/Makefile
@@ -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>
diff --git a/irc/pure-emacs21/pkg-descr b/irc/pure-emacs21/pkg-descr
index 84077cca9770..3ccb965f4d9d 100644
--- a/irc/pure-emacs21/pkg-descr
+++ b/irc/pure-emacs21/pkg-descr
@@ -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/