diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2016-02-09 08:25:30 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2016-02-09 08:25:30 +0000 |
commit | 12e535bad0f749cb995f59f662cd08b45cead985 (patch) | |
tree | 36a6171b997f38d3c8318b3624916e4c5a730b6b /mail/isync | |
parent | 1cc229ff2aa2707207f7d1307ee1fecc2e73e147 (diff) | |
download | ports-12e535bad0f749cb995f59f662cd08b45cead985.tar.gz ports-12e535bad0f749cb995f59f662cd08b45cead985.zip |
- Use @sample for configuration files.
- Remove PORTDOCS because it is empty.
- Use --with-ssl to set CPPFLAGS and LDFLAGS.
Submitted by: hrs
Notes
Notes:
svn path=/head/; revision=408540
Diffstat (limited to 'mail/isync')
-rw-r--r-- | mail/isync/Makefile | 19 | ||||
-rw-r--r-- | mail/isync/pkg-plist | 4 |
2 files changed, 11 insertions, 12 deletions
diff --git a/mail/isync/Makefile b/mail/isync/Makefile index 02cd91908076..ff0b582226e4 100644 --- a/mail/isync/Makefile +++ b/mail/isync/Makefile @@ -3,6 +3,7 @@ PORTNAME= isync PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF @@ -11,25 +12,23 @@ COMMENT= Maintain local copies of remote IMAP folders w/synchronized flags LICENSE= GPLv2 +LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 + USES= alias cpe CPE_VENDOR= oswald_buddenhagen GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-sasl=${LOCALBASE} \ + --with-ssl=${OPENSSLLIB:H} USE_OPENSSL= yes USE_BDB= 46+ -CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${OPENSSLINC} -LDFLAGS+= -L${BDB_LIB_DIR} -L${OPENSSLLIB} -lssl -lcrypto - -OPTIONS_DEFINE= DOCS +CPPFLAGS+= -I${BDB_INCLUDE_DIR} +LDFLAGS+= -L${BDB_LIB_DIR} post-patch: @${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \ + ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/compat/Makefile.in @${REINPLACE_CMD} -e 's|-ansi||g' ${WRKSRC}/${CONFIGURE_SCRIPT} -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} -.endfor - .include <bsd.port.mk> diff --git a/mail/isync/pkg-plist b/mail/isync/pkg-plist index 6f09dd283bbb..a1c5020c867c 100644 --- a/mail/isync/pkg-plist +++ b/mail/isync/pkg-plist @@ -5,5 +5,5 @@ bin/mdconvert man/man1/isync.1.gz man/man1/mbsync.1.gz man/man1/mdconvert.1.gz -%%DOCSDIR%%/examples/isyncrc.sample -%%DOCSDIR%%/examples/mbsyncrc.sample +@sample etc/isyncrc.sample +@sample etc/mbsyncrc.sample |