diff options
author | hrs <hrs@FreeBSD.org> | 2013-05-03 05:41:04 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-05-03 05:41:04 +0800 |
commit | e06e1864ce39153d7296a3f2ce8b2bd34d9d76df (patch) | |
tree | b2b20db3f5b73a847406915799b8b99acccc5a7e /japanese/navi2ch | |
parent | b5bacb638545565d64832110122fed6b73bae244 (diff) | |
download | freebsd-ports-gnome-e06e1864ce39153d7296a3f2ce8b2bd34d9d76df.tar.gz freebsd-ports-gnome-e06e1864ce39153d7296a3f2ce8b2bd34d9d76df.tar.zst freebsd-ports-gnome-e06e1864ce39153d7296a3f2ce8b2bd34d9d76df.zip |
- Trim old-style header.
- Add LICENSE.
- Use OPTIONS_DEFINE.
- Remove japanese/navi2ch-emacs21 and japanese/navi2ch-xemacs21-mule because
they are obsolete.
Diffstat (limited to 'japanese/navi2ch')
-rw-r--r-- | japanese/navi2ch/Makefile | 35 | ||||
-rw-r--r-- | japanese/navi2ch/pkg-plist | 1 |
2 files changed, 15 insertions, 21 deletions
diff --git a/japanese/navi2ch/Makefile b/japanese/navi2ch/Makefile index b9d8ca36413f..61df5957201c 100644 --- a/japanese/navi2ch/Makefile +++ b/japanese/navi2ch/Makefile @@ -1,47 +1,42 @@ -# New ports collection makefile for: navi2ch for Emacsen -# Date created: 13 May 2001 -# Whom: FUJISHIMA Satsuki <sf@FreeBSD.org> -# +# Created by: FUJISHIMA Satsuki <sf@FreeBSD.org> # $FreeBSD$ -# PORTNAME= navi2ch PORTVERSION= 1.8.4 PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= japanese www elisp -MASTER_SITES= SF -MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= hrs@FreeBSD.org COMMENT= 2ch.net and 2ch-like BBS navigator for Emacsen +LICENSE= GPLv2 + USE_EMACS= yes -INFO= navi2ch GNU_CONFIGURE= yes CONFIGURE_ENV= EMACS="${EMACS_CMD}" CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/${PORTNAME} -PORTDOCS= ${PORTDOC_FILES} contrib PLIST_SUB= LISPDIR=${LISPDIR} +PORTDOCS= ${PORTDOC_FILES} contrib + +INFO= navi2ch PORTDOC_FILES= ChangeLog README TODO PORTDOC_LISPS= gikope.el navi2ch-logo.el navi2ch-migemo.el +LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= DOCS X11 +OPTIONS_DEFAULT=DOCS X11 -.if ${EMACS_PORT_NAME} == xemacs21-mule -LISPDIR= ${EMACS_SITE_LISPDIR} -PLIST_SUB+= FSF="@comment " -.else -LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} -PLIST_SUB+= FSF="" -.if !defined(WITHOUT_X11) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MX11} RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanese/monafonts .endif -.endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && \ @@ -51,4 +46,4 @@ post-install: ${INSTALL_DATA} ${PORTDOC_LISPS} ${DOCSDIR}/contrib .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/japanese/navi2ch/pkg-plist b/japanese/navi2ch/pkg-plist index deb2d4223b97..5a5d96c17974 100644 --- a/japanese/navi2ch/pkg-plist +++ b/japanese/navi2ch/pkg-plist @@ -71,4 +71,3 @@ %%LISPDIR%%/navi2ch/navi2ch.el %%LISPDIR%%/navi2ch/navi2ch.elc @dirrm %%LISPDIR%%/navi2ch -%%FSF%%@dirrmtry %%LISPDIR%% |