blob: 324ed0ef42e39b0d8ff70a2ffeb8c2381871cab1 (
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
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: Mew
# Date created: 21 November 1997
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
# Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mew
PORTVERSION= 6.5
PORTREVISION= 1
CATEGORIES= mail elisp
MASTER_SITES= http://www.mew.org/Release/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= Messaging in the Emacs World for emacs
OPTIONS= DATABASE "Database feature support (with Ruby & Sqlite3)" on
# emacs port setup
USE_EMACS= yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_DATABASE)
RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
.endif
MAKE_JOBS_SAFE= yes
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \
--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc
# target name for make build and install
ALL_TARGET= all info
INSTALL_TARGET= install
.if !defined(NOPORTDOCS)
ALL_TARGET+= jinfo
INSTALL_TARGET+=install-jinfo
.endif
# manuals
MAN1= cmew.1 mew-pinentry.1 mewcat.1 mewdecode.1 mewencode.1 mewest.1 mewl.1 smew.1 incm.1
INFO= mew
.if !defined(NOPORTDOCS)
INFO+= mew.ja
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} ; \
${INSTALL_DATA} 00* dot.* ${DOCSDIR}/ ; \
)
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|