1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to 6.6.

- Add option for stunnel dependency (default).
- Support staging

PR:		189128
Submitted by:	maintainer
This commit is contained in:
Martin Wilke 2014-05-21 08:00:58 +00:00
parent 028071d2e7
commit d9ee0eb091
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354726
4 changed files with 33 additions and 27 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mew
PORTVERSION= 6.5
PORTREVISION= 4
PORTVERSION= 6.6
CATEGORIES= mail elisp
MASTER_SITES= http://www.mew.org/Release/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@ -11,26 +10,23 @@ PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= Messaging in the Emacs World for emacs
OPTIONS_DEFINE= DATABASE DOCS
DATABASE_DESC= Database feature support (with Ruby & Sqlite3)
OPTIONS_DEFINE= DATABASE DOCS STUNNEL
OPTIONS_DEFAULT=STUNNEL
DATABASE_DESC= Support database feature (with Ruby & Sqlite3)
STUNNEL_DESC= Support SSL feature using stunnel
DATABASE_RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
STUNNEL_RUN_DEPENDS= stunnel>=0:${PORTSDIR}/security/stunnel
# emacs port setup
USE_EMACS= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDATABASE}
RUN_DEPENDS= rubygem-sqlite3>=0:${PORTSDIR}/databases/rubygem-sqlite3
.endif
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \
--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc
.include <bsd.port.options.mk>
# target name for make build and install
ALL_TARGET= all info
INSTALL_TARGET= install
@ -39,20 +35,19 @@ 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 ${PORT_OPTIONS:MDOCS}
INFO+= mew.ja
.endif
post-install:
@${RM} -f ${STAGEDIR}${PREFIX}/${INFO_PATH}/*.info.~1~
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} ; \
${INSTALL_DATA} 00* dot.* ${DOCSDIR}/ ; \
${INSTALL_DATA} 00* dot.* ${STAGEDIR}${DOCSDIR}/ ; \
)
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}

View File

@ -1,2 +1,2 @@
SHA256 (mew-6.5.tar.gz) = f198b35c2a4cc1c082aaad8f6ccede80ed93d559aed0f66ee2c00c05f8394128
SIZE (mew-6.5.tar.gz) = 1026322
SHA256 (mew-6.6.tar.gz) = 20c879d8488620ac77144c3259fd19cebae0b63404856e426a7e8895d2f9c1e4
SIZE (mew-6.6.tar.gz) = 989941

View File

@ -1,6 +1,6 @@
--- ./Makefile.in.orig 2009-02-02 15:39:04.000000000 +0900
+++ ./Makefile.in 2010-01-04 12:06:16.000000000 +0900
@@ -40,8 +40,8 @@
--- ./Makefile.in.orig 2012-04-16 12:18:13.000000000 +0900
+++ ./Makefile.in 2014-04-14 20:03:59.000000000 +0900
@@ -35,8 +35,8 @@
## A directory where mew*.el[c] will be installed.
##
@ -11,7 +11,7 @@
#elispdir = $(prefix)/lib/xemacs/site-lisp
#elispdir = $(prefix)/lib/emacs
@@ -49,8 +49,8 @@
@@ -44,8 +44,8 @@
## A directory where etc file will be installed.
##

View File

@ -7,8 +7,18 @@ bin/mewencode
bin/mewest
bin/mewl
bin/smew
@comment info/mew.info
@comment %%PORTDOCS%%info/mew.ja.info
man/man1/cmew.1.gz
man/man1/incm.1.gz
man/man1/mew-pinentry.1.gz
man/man1/mewcat.1.gz
man/man1/mewdecode.1.gz
man/man1/mewencode.1.gz
man/man1/mewest.1.gz
man/man1/mewl.1.gz
man/man1/smew.1.gz
%%PORTDOCS%%%%DOCSDIR%%/00api
%%PORTDOCS%%%%DOCSDIR%%/00changes
%%PORTDOCS%%%%DOCSDIR%%/00changes.0
%%PORTDOCS%%%%DOCSDIR%%/00changes.1
%%PORTDOCS%%%%DOCSDIR%%/00changes.2
@ -21,6 +31,8 @@ bin/smew
%%PORTDOCS%%%%DOCSDIR%%/00changes.6.2
%%PORTDOCS%%%%DOCSDIR%%/00changes.6.3
%%PORTDOCS%%%%DOCSDIR%%/00changes.6.4
%%PORTDOCS%%%%DOCSDIR%%/00changes.6.5
%%PORTDOCS%%%%DOCSDIR%%/00changes.6.6
%%PORTDOCS%%%%DOCSDIR%%/00copyright
%%PORTDOCS%%%%DOCSDIR%%/00copyright.ja
%%PORTDOCS%%%%DOCSDIR%%/00diff
@ -193,5 +205,4 @@ bin/smew
%%EMACS_SITE_LISPDIR%%/mew/mew.elc
@dirrm %%EMACS_SITE_LISPDIR%%/mew/etc
@dirrm %%EMACS_SITE_LISPDIR%%/mew
@dirrmtry %%EMACS_SITE_LISPDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%