blob: a6778cbe7c9ba3a16f4bd8d9e7d0ab3165672767 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: gnus-emacs20
# Date created: 29 January 2001
# Whom: ilya
#
# $FreeBSD$
#
PORTNAME= gnus
PORTVERSION= 5.8.8
PORTREVISION= 4
CATEGORIES= news mail elisp
MASTER_SITES= ftp://ftp.monash.edu.au/pub/gnus/ \
ftp://ftp.kreonet.re.kr/pub/tools/emacs/gnus/ \
ftp://ftp.task.gda.pl/mirror/ftp.gnus.org/pub/gnus/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A popular newsreader for emacs20
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
INFO= emacs-mime gnus gnus-1 gnus-2 gnus-3 message
PORTDOCDIR= share/doc/gnus-${EMACS_PORT_NAME}
DOCS= ChangeLog GNUS-NEWS README
PLIST_SUB+= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
INFODIR=${INFODIR:S/${PREFIX}\///}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
INFO+= gnus-4
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${PORTDOCDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${PORTDOCDIR}
.endfor
.endif
.include <bsd.port.post.mk>
|