svn commit: r356144 - head/mail/im
Pawel Pekala
pawel at FreeBSD.org
Sun Jun 1 15:59:45 UTC 2014
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>
More information about the svn-ports-all
mailing list