Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/mail/mew/Makefile 327742 2013-09-20 19:59:12Z bapt $ |
2 |
# $FreeBSD: head/mail/mew/Makefile 327742 2013-09-20 19:59:12Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= mew |
4 |
PORTNAME= mew |
5 |
PORTVERSION= 6.5 |
5 |
PORTVERSION= 6.6 |
6 |
PORTREVISION= 4 |
|
|
7 |
CATEGORIES= mail elisp |
6 |
CATEGORIES= mail elisp |
8 |
MASTER_SITES= http://www.mew.org/Release/ |
7 |
MASTER_SITES= http://www.mew.org/Release/ |
9 |
PKGNAMESUFFIX= -${EMACS_PORT_NAME} |
8 |
PKGNAMESUFFIX= -${EMACS_PORT_NAME} |
Lines 11-36
Link Here
|
11 |
MAINTAINER= hiroto.kagotani@gmail.com |
10 |
MAINTAINER= hiroto.kagotani@gmail.com |
12 |
COMMENT= Messaging in the Emacs World for emacs |
11 |
COMMENT= Messaging in the Emacs World for emacs |
13 |
|
12 |
|
14 |
OPTIONS_DEFINE= DATABASE DOCS |
13 |
OPTIONS_DEFINE= DATABASE DOCS STUNNEL |
15 |
DATABASE_DESC= Database feature support (with Ruby & Sqlite3) |
14 |
OPTIONS_DEFAULT=STUNNEL |
|
|
15 |
DATABASE_DESC= Support database feature (with Ruby & Sqlite3) |
16 |
STUNNEL_DESC= Support SSL feature using stunnel |
17 |
|
18 |
DATABASE_RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3 |
19 |
STUNNEL_RUN_DEPENDS= stunnel>=0:${PORTSDIR}/security/stunnel |
16 |
|
20 |
|
17 |
# emacs port setup |
21 |
# emacs port setup |
18 |
USE_EMACS= yes |
22 |
USE_EMACS= yes |
19 |
|
|
|
20 |
NO_STAGE= yes |
21 |
.include <bsd.port.options.mk> |
22 |
|
23 |
.if ${PORT_OPTIONS:MDATABASE} |
24 |
RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3 |
25 |
.endif |
26 |
|
27 |
|
28 |
SUB_FILES= pkg-message |
23 |
SUB_FILES= pkg-message |
29 |
|
|
|
30 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
31 |
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \ |
25 |
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \ |
32 |
--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc |
26 |
--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc |
33 |
|
27 |
|
|
|
28 |
.include <bsd.port.options.mk> |
29 |
|
34 |
# target name for make build and install |
30 |
# target name for make build and install |
35 |
ALL_TARGET= all info |
31 |
ALL_TARGET= all info |
36 |
INSTALL_TARGET= install |
32 |
INSTALL_TARGET= install |
Lines 39-58
Link Here
|
39 |
INSTALL_TARGET+=install-jinfo |
35 |
INSTALL_TARGET+=install-jinfo |
40 |
.endif |
36 |
.endif |
41 |
|
37 |
|
42 |
# manuals |
|
|
43 |
MAN1= cmew.1 mew-pinentry.1 mewcat.1 mewdecode.1 mewencode.1 mewest.1 mewl.1 smew.1 incm.1 |
44 |
INFO= mew |
38 |
INFO= mew |
45 |
.if ${PORT_OPTIONS:MDOCS} |
39 |
.if ${PORT_OPTIONS:MDOCS} |
46 |
INFO+= mew.ja |
40 |
INFO+= mew.ja |
47 |
.endif |
41 |
.endif |
48 |
|
42 |
|
49 |
post-install: |
43 |
post-install: |
|
|
44 |
@${RM} -f ${STAGEDIR}${PREFIX}/${INFO_PATH}/*.info.~1~ |
50 |
.if ${PORT_OPTIONS:MDOCS} |
45 |
.if ${PORT_OPTIONS:MDOCS} |
51 |
${MKDIR} ${DOCSDIR} |
46 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
52 |
(cd ${WRKSRC} ; \ |
47 |
(cd ${WRKSRC} ; \ |
53 |
${INSTALL_DATA} 00* dot.* ${DOCSDIR}/ ; \ |
48 |
${INSTALL_DATA} 00* dot.* ${STAGEDIR}${DOCSDIR}/ ; \ |
54 |
) |
49 |
) |
55 |
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} |
50 |
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} |
56 |
.endif |
51 |
.endif |
57 |
@${CAT} ${PKGMESSAGE} |
52 |
@${CAT} ${PKGMESSAGE} |
58 |
|
53 |
|