aboutsummaryrefslogtreecommitdiff
path: root/editors/apel
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2013-01-26 10:52:03 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2013-01-26 10:52:03 +0000
commitcbe219aed5e5e4804b57dd5c3b4471f202e98548 (patch)
tree365b32fe7cf3eafa32b1822000a0da079ff29d3e /editors/apel
parent2a0868ab6b9edf019a6b8ca72a35b78b24910279 (diff)
downloadports-cbe219aed5e5e4804b57dd5c3b4471f202e98548.tar.gz
ports-cbe219aed5e5e4804b57dd5c3b4471f202e98548.zip
Update MASTER_SITES and WWW.
Add license information. Adopt OptionsNG. Trim Makefile header. PR: ports/175277 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Notes
Notes: svn path=/head/; revision=311003
Diffstat (limited to 'editors/apel')
-rw-r--r--editors/apel/Makefile16
-rw-r--r--editors/apel/pkg-descr2
2 files changed, 10 insertions, 8 deletions
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index 5afabcfbba37..69872324d4e4 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -1,20 +1,18 @@
-# New ports collection makefile for: apel for emacs
-# Date created: 23 September 1998
-# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
-#
+# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= apel
PORTVERSION= ${APEL_VER}
PORTREVISION= 8
CATEGORIES= editors elisp
-MASTER_SITES= http://kanji.zinbun.kyoto-u.ac.jp/~tomo/lemi/dist/apel/
+MASTER_SITES= http://git.chise.org/elisp/dist/apel/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER?= nobutaka@FreeBSD.org
COMMENT?= A Portable Emacs Library for emacs
+LICENSE= GPLv2
+
# distfile version
APEL_VER= 10.8
# apel lispdir
@@ -33,6 +31,10 @@ MAKE_ARGS+= PREFIX="${LOCALBASE}" \
LISPDIR="${APEL_LISPDIR}" \
VERSION_SPECIFIC_LISPDIR="${APEL_VERSION_SPECIFIC_LISPDIR}"
+OPTIONS_DEFINE= DOCS
+OPTINOS_DEFAULT= DOCS
+
+.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
.if ${EMACS_VER:C/\..*//} >= 23
@@ -42,7 +44,7 @@ PLIST_SUB+= EMACS23="@comment " NOEMACS23=""
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; \
for i in ChangeLog README.* ; do \
diff --git a/editors/apel/pkg-descr b/editors/apel/pkg-descr
index 3c19e13f12c4..571d24c989b8 100644
--- a/editors/apel/pkg-descr
+++ b/editors/apel/pkg-descr
@@ -29,4 +29,4 @@ To use apel, put the following setup into your ~/.emacs:
(require 'apel-setupel)
-WWW: http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/APEL/index.en.html
+WWW: http://git.chise.org/elisp/apel/index.html.en