diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-29 08:38:12 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-29 08:38:12 +0800 |
commit | f8de9b937d107172a7d42116fa65a8960879f873 (patch) | |
tree | 7eb8e0c8fbcac1ffbd1f79c2afe2e3cb04826aeb /mail | |
parent | 9fe0726391e6cbb9ed5f9fe197a2c4a6dfa96fec (diff) | |
download | freebsd-ports-gnome-f8de9b937d107172a7d42116fa65a8960879f873.tar.gz freebsd-ports-gnome-f8de9b937d107172a7d42116fa65a8960879f873.tar.zst freebsd-ports-gnome-f8de9b937d107172a7d42116fa65a8960879f873.zip |
- Add LICENSE
- Switch to options helpers
- Regenerate patches with `make makepatch`
- Don't install COPYING
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailsync/Makefile | 12 | ||||
-rw-r--r-- | mail/mailsync/files/patch-configure | 20 | ||||
-rw-r--r-- | mail/mailsync/pkg-plist | 1 |
3 files changed, 19 insertions, 14 deletions
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile index 51d1aa93e8ba..c54243645b56 100644 --- a/mail/mailsync/Makefile +++ b/mail/mailsync/Makefile @@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized +LICENSE= GPLv2 + LIB_DEPENDS= libc-client4.so:${PORTSDIR}/mail/cclient USES= gmake @@ -18,20 +20,24 @@ USE_OPENSSL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-c-client=${LOCALBASE} -OPTIONS_DEFINE= DOCS EXAMPLES - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/mailsync ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING NEWS README \ + cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS NEWS README \ THANKS TODO ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ABSTRACT HACKING \ mail_open_close_flowchart.dia \ mail_open_close_flowchart.svg \ mail_open_close_flowchart2.svg ${STAGEDIR}${DOCSDIR} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${STAGEDIR}${EXAMPLESDIR} diff --git a/mail/mailsync/files/patch-configure b/mail/mailsync/files/patch-configure index 8501377ed8d5..ab70d4f69b84 100644 --- a/mail/mailsync/files/patch-configure +++ b/mail/mailsync/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Wed Jun 30 18:04:12 2004 -+++ configure Sun Sep 30 15:39:42 2007 -@@ -5012,7 +5012,7 @@ +--- configure.orig 2004-06-30 08:04:12 UTC ++++ configure +@@ -5012,7 +5012,7 @@ fi @@ -9,7 +9,7 @@ HAVE_OPENSSL="no" OPENSSL_LDFLAGS="" OPENSSL_LIBS="" -@@ -5035,14 +5035,13 @@ +@@ -5035,14 +5035,13 @@ fi; else echo "$as_me:$LINENO: checking for libssl" >&5 echo $ECHO_N "checking for libssl... $ECHO_C" >&6 @@ -25,7 +25,7 @@ if test -z "${OPENSSL_LDFLAGS}" ; then echo "$as_me:$LINENO: result: not found" >&5 echo "${ECHO_T}not found" >&6 -@@ -5190,14 +5189,13 @@ +@@ -5190,14 +5189,13 @@ fi else echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 @@ -41,7 +41,7 @@ if test -z "${OPENSSL_INCLUDES}" ; then echo "$as_me:$LINENO: result: not found" >&5 echo "${ECHO_T}not found" >&6 -@@ -5447,7 +5445,7 @@ +@@ -5447,7 +5445,7 @@ fi @@ -50,7 +50,7 @@ HAVE_CCLIENT="no" CCLIENT_LIBS="" CCLIENT_INCLUDES="" -@@ -5462,7 +5460,7 @@ +@@ -5462,7 +5460,7 @@ if test "${with_c_client+set}" = set; th if test "$withval" = "no" ; then CCLIENTLOCATIONS="" else @@ -59,7 +59,7 @@ fi -@@ -5477,8 +5475,8 @@ +@@ -5477,8 +5475,8 @@ echo "$as_me: error: a working c-client echo "$as_me:$LINENO: checking for c-client.h" >&5 echo $ECHO_N "checking for c-client.h... $ECHO_C" >&6 @@ -70,7 +70,7 @@ CCLIENT_INCLUDES="-I${p}" CCLIENT_LINKAGE_H="${p}/linkage.h" CCLIENT_LINKAGE_C="${p}/linkage.c" -@@ -5486,7 +5484,6 @@ +@@ -5486,7 +5484,6 @@ echo $ECHO_N "checking for c-client.h... echo "${ECHO_T}found in ${p}" >&6 break fi @@ -78,7 +78,7 @@ if test -z "${CCLIENT_INCLUDES}" ; then echo "$as_me:$LINENO: result: not found" >&5 echo "${ECHO_T}not found" >&6 -@@ -5501,14 +5498,13 @@ +@@ -5501,14 +5498,13 @@ echo "$as_me: error: a working c-client echo "$as_me:$LINENO: checking for c-client library" >&5 echo $ECHO_N "checking for c-client library... $ECHO_C" >&6 diff --git a/mail/mailsync/pkg-plist b/mail/mailsync/pkg-plist index 7cdf032d3c27..137f1f217f0d 100644 --- a/mail/mailsync/pkg-plist +++ b/mail/mailsync/pkg-plist @@ -2,7 +2,6 @@ bin/mailsync man/man1/mailsync.1.gz %%PORTDOCS%%%%DOCSDIR%%/ABSTRACT %%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/HACKING %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README |