- Update MASTER_SITES

- Add LICENSE
- Trim header
- OptionsNG

PR:		179062
Submitted by:	ports fury
This commit is contained in:
Martin Wilke 2013-05-29 05:25:00 +00:00
parent 6d87f42e78
commit 6931cd8505
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319342

View file

@ -1,15 +1,12 @@
# New ports collection makefile for: irchat-pj (for emacs20)
# Date Created: 2 May 2001
# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
# $FreeBSD$
#
PORTNAME= irchat-pj
PORTVERSION= 2.5.6
PORTREVISION= 6
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= ${PORTNAME}-${PORTVERSION}p
@ -20,10 +17,14 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= IRC client which runs under Emacsen
LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= ${LOCALBASE}/${LISPDIR:S,${PORTNAME},pure,g}/pure-make.el:${PORTSDIR}/irc/pure-${EMACS_PORT_NAME}
RUN_DEPENDS= ${LOCALBASE}/${LISPDIR:S,${PORTNAME},pure,g}/pure-make.el:${PORTSDIR}/irc/pure-${EMACS_PORT_NAME} \
${LOCALBASE}/bin/dcc:${PORTSDIR}/irc/dcc
OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
USE_EMACS= yes
EMACS_PORT_NAME?= emacs21
@ -43,8 +44,10 @@ PLIST_SUB= LISPDIR=${LISPDIR} \
ETCDIR=${ETCDIR} \
XEMACS_ONLY=${XEMACS_ONLY}
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/${ETCDIR}
.for f in ${DOCS}
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/${ETCDIR}