diff --git a/mail/deforaos-mailer/Makefile b/mail/deforaos-mailer/Makefile index 64e15d6a72f8..435351a6f3e6 100644 --- a/mail/deforaos-mailer/Makefile +++ b/mail/deforaos-mailer/Makefile @@ -1,76 +1,76 @@ PORTNAME= mailer PORTVERSION= 0.1.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= http://www.defora.org/os/download/download/4426/ PKGNAMEPREFIX= deforaos- DISTNAME= Mailer-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop mail client WWW= https://www.defora.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libDesktop.so:x11/deforaos-libdesktop USES= gnome pkgconfig ssl USE_GNOME= cairo gdkpixbuf2 gtk20 USE_LDCONFIG= yes MAKE_ARGS+= PREFIX=${PREFIX} -MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man +MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl NLS_USES= gettext .include .if ${SSL_DEFAULT} == base # openssl from base doesn't install a .pc file and pkg-config didn't like it CONFIGURE_ENV+= libssl_CFLAGS="-I${OPENSSLINC}" libssl_LIBS="-L${OPENSSLLIB} -lssl" .endif post-patch-DOCS-off: ${REINPLACE_CMD} 's|data doc include|data include|' \ ${WRKSRC}/Makefile post-patch-NLS-off: ${REINPLACE_CMD} 's|include po src|include src|' \ ${WRKSRC}/Makefile post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh ${REINPLACE_CMD} 's/-lssl/& -lcrypto/' \ ${WRKSRC}/src/Makefile ${WRKSRC}/src/account/Makefile \ ${WRKSRC}/src/plugins/Makefile ${WRKSRC}/tests/Makefile ${REINPLACE_CMD} 's|-Wl,-pie||g' \ ${WRKSRC}/src/Makefile \ ${WRKSRC}/tests/Makefile .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) ${REINPLACE_CMD} 's/stack-protector-all/stack-protector-all -Wno-error=int-conversion/g' \ ${WRKSRC}/src/Makefile \ ${WRKSRC}/src/account/Makefile \ ${WRKSRC}/src/plugins/Makefile \ ${WRKSRC}/tests/Makefile .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ ${STAGEDIR}${PREFIX}/lib/Mailer/plugins/* \ ${STAGEDIR}${PREFIX}/lib/Mailer/account/* \ ${STAGEDIR}${PREFIX}/lib/libMailer.so.0.0 .include diff --git a/mail/deforaos-mailer/pkg-plist b/mail/deforaos-mailer/pkg-plist index 34510e49baf2..ce8042810425 100644 --- a/mail/deforaos-mailer/pkg-plist +++ b/mail/deforaos-mailer/pkg-plist @@ -1,40 +1,40 @@ bin/compose bin/mailer include/Desktop/Mailer.h include/Desktop/Mailer/account.h include/Desktop/Mailer/folder.h include/Desktop/Mailer/helper.h include/Desktop/Mailer/mailer.h include/Desktop/Mailer/message.h include/Desktop/Mailer/plugin.h include/Desktop/Mailer/transport.h lib/Mailer/account/imap4.so lib/Mailer/account/mbox.so lib/Mailer/account/pop3.so lib/Mailer/plugins/mailing-lists.so lib/Mailer/plugins/search.so lib/libMailer.a lib/libMailer.so lib/libMailer.so.0 lib/libMailer.so.0.0 libdata/pkgconfig/Mailer.pc -%%PORTDOCS%%man/man1/compose.1.gz -%%PORTDOCS%%man/man1/mailer.1.gz +%%PORTDOCS%%share/man/man1/compose.1.gz +%%PORTDOCS%%share/man/man1/mailer.1.gz share/applications/deforaos-mailer.desktop share/icons/hicolor/16x16/apps/mailer-accounts.png share/icons/hicolor/16x16/apps/mailer-drafts.png share/icons/hicolor/16x16/apps/mailer-inbox.png share/icons/hicolor/16x16/apps/mailer-outbox.png share/icons/hicolor/16x16/apps/mailer-sent.png share/icons/hicolor/16x16/apps/mailer.png share/icons/hicolor/24x24/apps/mailer-accounts.png share/icons/hicolor/24x24/apps/mailer-drafts.png share/icons/hicolor/24x24/apps/mailer-inbox.png share/icons/hicolor/24x24/apps/mailer-outbox.png share/icons/hicolor/24x24/apps/mailer-sent.png share/icons/hicolor/24x24/apps/mailer.png share/icons/hicolor/48x48/apps/mailer-inbox.png share/icons/hicolor/48x48/apps/mailer-outbox.png share/icons/hicolor/48x48/apps/mailer-sent.png share/icons/hicolor/48x48/apps/mailer.png %%NLS%%share/locale/fr/LC_MESSAGES/Mailer.mo