Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 13:23:04 +0000 (UTC)
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426050 - in head/editors/semi: . files
Message-ID:  <201611131323.uADDN4aw014167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nobutaka
Date: Sun Nov 13 13:23:04 2016
New Revision: 426050
URL: https://svnweb.freebsd.org/changeset/ports/426050

Log:
  - Simplify PLIST, BUILD_DEPENDS and RUN_DEPENDS selection.
  - Regenerate patches by 'make makepatch'.
  - Pet portlint.
  
  PR:		213183
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Deleted:
  head/editors/semi/pkg-plist.xemacs21-mule
Modified:
  head/editors/semi/Makefile
  head/editors/semi/files/patch-SEMI-CFG
  head/editors/semi/files/patch-mime-ui-en.texi
  head/editors/semi/files/patch-mime-ui-ja.texi

Modified: head/editors/semi/Makefile
==============================================================================
--- head/editors/semi/Makefile	Sun Nov 13 13:21:08 2016	(r426049)
+++ head/editors/semi/Makefile	Sun Nov 13 13:23:04 2016	(r426050)
@@ -8,8 +8,8 @@ CATEGORIES=	editors elisp
 MASTER_SITES=	http://git.chise.org/elisp/dist/semi/semi-1.14-for-flim-1.14/
 PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
 
-MAINTAINER?=	nobutaka@FreeBSD.org
-COMMENT?=	SEMI, Library of MIME feature for GNU Emacs for emacs
+MAINTAINER=	nobutaka@FreeBSD.org
+COMMENT=	SEMI, Library of MIME feature for GNU Emacs for emacs
 
 LICENSE=	GPLv2
 
@@ -47,24 +47,10 @@ OPTIONS_DEFINE=	DOCS
 .include <bsd.port.pre.mk>
 .include <bsd.port.options.mk>
 
-.if defined(EMACS_PORT_NAME)
-.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
-DEPPORT_SUFFIX=
-.else
-DEPPORT_SUFFIX=	-${EMACS_PORT_NAME}
-.endif
-.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
 PLIST=		${PKGDIR}/pkg-plist.emacs20
-.endif
 # depends on flim
-BUILD_DEPENDS+=	${LOCALBASE}/share/flim/${FLIM_COOKIE}:editors/flim${DEPPORT_SUFFIX}
-RUN_DEPENDS+=	${LOCALBASE}/share/flim/${FLIM_COOKIE}:editors/flim${DEPPORT_SUFFIX}
-.else
-.BEGIN:
-	@${ECHO} "Error: Bad port."
-	@${ECHO} "You must define EMACS_PORT_NAME."
-	@${FALSE}
-.endif
+BUILD_DEPENDS+=	flim-${EMACS_PORT_NAME}>0:editors/flim
+RUN_DEPENDS+=	flim-${EMACS_PORT_NAME}>0:editors/flim
 
 .if !defined(BUILD_INFO_BY_EMACS) || (${BUILD_INFO_BY_EMACS} == "NO")
 # info files JIS to EUC

Modified: head/editors/semi/files/patch-SEMI-CFG
==============================================================================
--- head/editors/semi/files/patch-SEMI-CFG	Sun Nov 13 13:21:08 2016	(r426049)
+++ head/editors/semi/files/patch-SEMI-CFG	Sun Nov 13 13:23:04 2016	(r426050)
@@ -1,6 +1,6 @@
---- SEMI-CFG.orig	Wed Sep 16 15:48:58 1998
-+++ SEMI-CFG	Sun May  9 21:54:02 1999
-@@ -11,6 +11,8 @@
+--- SEMI-CFG.orig	2003-01-10 18:12:05 UTC
++++ SEMI-CFG
+@@ -9,6 +9,8 @@
  (add-to-list 'load-path
  	     (expand-file-name "../../site-lisp/apel" data-directory))
  (add-to-list 'load-path
@@ -8,4 +8,4 @@
 +(add-to-list 'load-path
  	     (expand-file-name "." data-directory))
  
- (when (boundp 'LISPDIR)
+ (if (boundp 'LISPDIR)

Modified: head/editors/semi/files/patch-mime-ui-en.texi
==============================================================================
--- head/editors/semi/files/patch-mime-ui-en.texi	Sun Nov 13 13:21:08 2016	(r426049)
+++ head/editors/semi/files/patch-mime-ui-en.texi	Sun Nov 13 13:23:04 2016	(r426050)
@@ -1,5 +1,5 @@
---- ./mime-ui-en.texi.orig	2002-10-15 06:59:21.000000000 +0000
-+++ ./mime-ui-en.texi	2014-06-29 07:49:25.000000000 +0000
+--- mime-ui-en.texi.orig	2002-10-15 06:59:21 UTC
++++ mime-ui-en.texi
 @@ -1,6 +1,10 @@
  \input texinfo.tex
  @setfilename mime-ui-en.info

Modified: head/editors/semi/files/patch-mime-ui-ja.texi
==============================================================================
--- head/editors/semi/files/patch-mime-ui-ja.texi	Sun Nov 13 13:21:08 2016	(r426049)
+++ head/editors/semi/files/patch-mime-ui-ja.texi	Sun Nov 13 13:23:04 2016	(r426050)
@@ -1,5 +1,5 @@
---- ./mime-ui-ja.texi.orig	2002-10-15 06:59:21.000000000 +0000
-+++ ./mime-ui-ja.texi	2014-06-29 07:49:58.000000000 +0000
+--- mime-ui-ja.texi.orig	2002-10-15 06:59:21 UTC
++++ mime-ui-ja.texi
 @@ -1,6 +1,10 @@
  \input texinfo.tex
  @setfilename mime-ui-ja.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611131323.uADDN4aw014167>