aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2013-01-26 19:51:04 +0800
committernobutaka <nobutaka@FreeBSD.org>2013-01-26 19:51:04 +0800
commit55255f4b6c13d40c53d78e723ae6678ffc41a3e2 (patch)
tree4fa74add5292bce0f88c82635682d0600d4702fb
parent26451dab9b95f4581cf524da0f8428bf0ea15d47 (diff)
downloadfreebsd-ports-gnome-55255f4b6c13d40c53d78e723ae6678ffc41a3e2.tar.gz
freebsd-ports-gnome-55255f4b6c13d40c53d78e723ae6678ffc41a3e2.tar.zst
freebsd-ports-gnome-55255f4b6c13d40c53d78e723ae6678ffc41a3e2.zip
Update MASTER_SITES and WWW.
Add lincese information. Adopt OptionsNG. Trim makefile header. Pet portlint. PR: ports/175280 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
-rw-r--r--editors/semi/Makefile16
-rw-r--r--editors/semi/pkg-descr2
-rw-r--r--editors/semi/pkg-plist.emacs206
3 files changed, 13 insertions, 11 deletions
diff --git a/editors/semi/Makefile b/editors/semi/Makefile
index 51d43082366a..195d94a56ee3 100644
--- a/editors/semi/Makefile
+++ b/editors/semi/Makefile
@@ -1,20 +1,18 @@
-# New ports collection makefile for: semi-current for emacs
-# Date created: 9 May 1999
-# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
-#
+# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= semi
PORTVERSION= ${SEMI_VER}
PORTREVISION= 14
CATEGORIES= editors elisp
-MASTER_SITES= http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/semi/semi-1.14-for-flim-1.14/
+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
+LICENSE= GPLv2
+
PORTCLASS?= master
# distfile version
@@ -42,7 +40,11 @@ MAKE_ARGS+= PREFIX="${LOCALBASE}" \
LISPDIR="${SEMI_LISPDIR}" \
VERSION_SPECIFIC_LISPDIR="${SEMI_VERSION_SPECIFIC_LISPDIR}"
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT= DOCS
+
.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(EMACS_PORT_NAME)
.if (${EMACS_PORT_NAME} == "emacs23") || (${EMACS_PORT_NAME} == "emacs24") || (${EMACS_PORT_NAME} == "emacs-devel")
@@ -101,7 +103,7 @@ post-install:
.else
@${MAKE} info-install
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MAKE} doc-install
.endif
diff --git a/editors/semi/pkg-descr b/editors/semi/pkg-descr
index 5ffaabe0bb74..52cb3e53c265 100644
--- a/editors/semi/pkg-descr
+++ b/editors/semi/pkg-descr
@@ -20,4 +20,4 @@ SEMI, Library of MIME feature for GNU Emacs for emacs20.
Ported by shige@FreeBSD.ORG
-WWW: http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/SEMI/ (in Japanese)
+WWW: http://git.chise.org/elisp/semi/ (in Japanese)
diff --git a/editors/semi/pkg-plist.emacs20 b/editors/semi/pkg-plist.emacs20
index a4524ef04e1e..8d98e3f32576 100644
--- a/editors/semi/pkg-plist.emacs20
+++ b/editors/semi/pkg-plist.emacs20
@@ -1,7 +1,7 @@
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mail-mime-setup.el
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mail-mime-setup.elc
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-bbdb.el
-@unexec /bin/rm -f %D/%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-bbdb.elc
+@rmtry %%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-bbdb.elc
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-edit.el
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-edit.elc
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-image.el
@@ -17,7 +17,7 @@
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-view.el
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-view.elc
%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-w3.el
-@unexec /bin/rm -f %D/%%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-w3.elc
+@rmtry %%EMACS_VERSION_SITE_LISPDIR%%/semi/mime-w3.elc
%%EMACS_VERSION_SITE_LISPDIR%%/semi/pgg-def.el
%%EMACS_VERSION_SITE_LISPDIR%%/semi/pgg-def.elc
%%EMACS_VERSION_SITE_LISPDIR%%/semi/pgg-gpg.el
@@ -55,4 +55,4 @@ info/mime-ui-en.info
info/mime-ui-ja.info
@exec install-info %D/info/mime-ui-ja.info %D/info/dir
share/semi/%%SEMI_COOKIE%%
-@unexec /bin/rmdir %D/share/semi || true
+@dirrmtry share/semi