From 33fb7c446616b9bdcbc60ea80b2ebd062d229306 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 29 May 2013 05:26:53 +0000 Subject: - Update MASTER_SITES - Add LICENSE - Add MAKE_JOBS_SAFE - Support CC/CFLAGS properly - Support STRIP properly PR: 179059 Submitted by: Ports Fury --- irc/pure-emacs21/Makefile | 28 +++++++++++++++++++++------- irc/pure-emacs21/pkg-descr | 6 ++++-- 2 files changed, 25 insertions(+), 9 deletions(-) (limited to 'irc') 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 -# +# Created by: Yoichi NAKAYAMA # $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 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/ -- cgit v1.2.3