Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 15:59:45 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356144 - head/mail/im
Message-ID:  <201406011559.s51Fxjoi038777@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Jun  1 15:59:44 2014
New Revision: 356144
URL: http://svnweb.freebsd.org/changeset/ports/356144
QAT: https://qat.redports.org/buildarchive/r356144/

Log:
  - Add staging support
  - Convert to new options framework
  - Fix shebangs in scripts, bump PORTREVISION

Modified:
  head/mail/im/Makefile

Modified: head/mail/im/Makefile
==============================================================================
--- head/mail/im/Makefile	Sun Jun  1 15:50:56 2014	(r356143)
+++ head/mail/im/Makefile	Sun Jun  1 15:59:44 2014	(r356144)
@@ -3,6 +3,7 @@
 
 PORTNAME=	im
 PORTVERSION=	151
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://tats.haun.org/im/
 
@@ -12,29 +13,19 @@ COMMENT=	Set of user interfaces of Email
 USES=		perl5
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-hostname=_domain_of_your_mail_address_
+CONFIGURE_ENV=	im_path_perl=${PERL}
 MAKE_ARGS=	prefix=${PREFIX} imlibdir=${ETCDIR}
 
-# Use RPOP instead of APOP
-.if defined(WITH_RPOP)
-CONFIGURE_ARGS+=	--enable-rpop
-.endif
+OPTIONS_DEFINE=	DOCS EXAMPLES RPOP
+
+RPOP_DESC=	Use RPOP instead of APOP
+RPOP_CONFIGURE_ENABLE=	rpop
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/00* ${DOCSDIR}
-	@${MKDIR} ${DOCSDIR}/man
-	${INSTALL_DATA} ${WRKSRC}/man/* ${DOCSDIR}/man
-.endif
-.if !defined(NOPORTEXAMPLES)
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/dot.im/* ${EXAMPLESDIR}
-.endif
-
-## for make PLIST (only maintainer use)
-#arrange:
-#	${MAKE} -DPLIST_OVERRIDE \
-#	DIRRMDEPTH=1 plist
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/man
+	${INSTALL_DATA} ${WRKSRC}/00* ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/man/* ${STAGEDIR}${DOCSDIR}/man
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/dot.im/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011559.s51Fxjoi038777>