a8997f5112
Submitted by: Ilya Martynov <ilya@martynov.org>
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: gnus-emacs20
|
|
# Date created: 29 January 2001
|
|
# Whom: ilya
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnus
|
|
PORTVERSION= 5.8.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= news mail elisp
|
|
MASTER_SITES= http://quimby.gnus.org/gnus/dist/ \
|
|
ftp://quimby.gnus.org/gnus/dist/ \
|
|
ftp://ftp.monash.edu.au/pub/gnus/ \
|
|
ftp://ftp.win.ne.jp/pub/word/elisp/gnus/ \
|
|
ftp://ftp.kreonet.re.kr/pub/tools/emacs/gnus/ \
|
|
ftp://ftp.task.gda.pl/mirror/ftp.gnus.org/pub/gnus/ \
|
|
http://www.gnus.org/dist/ \
|
|
ftp://ftp.gnus.org/dist/ \
|
|
ftp://ftp.twoguys.org/gnus/
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
EMACS_PORT_NAME?=emacs20
|
|
|
|
CONFIGURE_ARGS= --with-emacs=${EMACS_CMD} \
|
|
--with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/gnus \
|
|
--infodir=${INFODIR}
|
|
|
|
INFODIR= ${PREFIX}/info
|
|
|
|
PORTDOCDIR= share/doc/gnus-${EMACS_PORT_NAME}
|
|
DOCS= ChangeLog GNUS-NEWS README
|
|
|
|
PLIST_SUB+= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
|
|
INFODIR=${INFODIR:S/${PREFIX}\///}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/${PORTDOCDIR}
|
|
.for i in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${PORTDOCDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|