aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cone
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-02-26 17:01:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-02-26 17:01:42 +0800
commitae4cb59b97e11c34e2be30e4ff054c7da1180d26 (patch)
treeb28e7c236da2f5292945946f1715865e6915d5be /mail/cone
parente297e544568e5abf96583dd3ab201604ed378b28 (diff)
downloadfreebsd-ports-gnome-ae4cb59b97e11c34e2be30e4ff054c7da1180d26.tar.gz
freebsd-ports-gnome-ae4cb59b97e11c34e2be30e4ff054c7da1180d26.tar.zst
freebsd-ports-gnome-ae4cb59b97e11c34e2be30e4ff054c7da1180d26.zip
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to USES=ssl - Switch to options helpers - Cosmetic fixes
Diffstat (limited to 'mail/cone')
-rw-r--r--mail/cone/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/mail/cone/Makefile b/mail/cone/Makefile
index 6d04464e35c4..e3ed9613b796 100644
--- a/mail/cone/Makefile
+++ b/mail/cone/Makefile
@@ -14,32 +14,32 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Console based mail client with POP3/IMAP/SMAP support
LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING.GPL
LIB_DEPENDS= libaspell.so:textproc/aspell \
libcourier-unicode.so:devel/courier-unicode
BUILD_DEPENDS= gpgv:security/gnupg1
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+RUN_DEPENDS= gpgv:security/gnupg1
-USES= fam gettext gmake iconv ncurses perl5 shebangfix tar:bzip2
-USE_GNOME= libxml2
-
-SHEBANG_FILES= sysconftool
-
-CPPFLAGS+= -I${LOCALBASE}/include \
- -D_XOPEN_SOURCE_EXTENDED
-LDFLAGS+= -L${LOCALBASE}/lib
+USES= fam gettext gmake iconv localbase:ldflags ncurses perl5 shebangfix ssl tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-certdb=${PREFIX}/share/cone/rootcerts --exec-prefix=${PREFIX}
+CONFIGURE_ARGS= --with-certdb=${PREFIX}/share/cone/rootcerts --exec-prefix=${PREFIX}
+SHEBANG_FILES= sysconftool
+USE_GNOME= libxml2
INSTALL_TARGET= install-strip
+CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
+
OPTIONS_DEFINE= DOCS
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leaf
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mailtool
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/cone
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/leaf
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mailtool
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/cone
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${STAGEDIR}${PREFIX}/sbin/cone-sysconftool
- ${RM} ${STAGEDIR}${PREFIX}/share/cone/rootcerts/.0
+ @${RM} ${STAGEDIR}${PREFIX}/share/cone/rootcerts/.0
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}