Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 02:41:50 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342925 - head/mail/archivemail
Message-ID:  <201402060241.s162fogK081426@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Thu Feb  6 02:41:50 2014
New Revision: 342925
URL: http://svnweb.freebsd.org/changeset/ports/342925
QAT: https://qat.redports.org/buildarchive/r342925/

Log:
  - Stage support

Modified:
  head/mail/archivemail/Makefile
  head/mail/archivemail/pkg-plist

Modified: head/mail/archivemail/Makefile
==============================================================================
--- head/mail/archivemail/Makefile	Thu Feb  6 02:41:47 2014	(r342924)
+++ head/mail/archivemail/Makefile	Thu Feb  6 02:41:50 2014	(r342925)
@@ -13,23 +13,15 @@ COMMENT=	Archive or delete mail older th
 USE_PYTHON=	yes
 NO_BUILD=	yes
 
-MAN1=		archivemail.1
 DOCS=		CHANGELOG FAQ NEWS README TODO
 EXAMPLES=	test_archivemail examples/archivemail_all
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${PREFIX}/bin/archivemail
-	${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${STAGEDIR}${PREFIX}/bin/archivemail
+	${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/mail/archivemail/pkg-plist
==============================================================================
--- head/mail/archivemail/pkg-plist	Thu Feb  6 02:41:47 2014	(r342924)
+++ head/mail/archivemail/pkg-plist	Thu Feb  6 02:41:50 2014	(r342925)
@@ -1,4 +1,5 @@
 bin/archivemail
+man/man1/archivemail.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
 %%PORTDOCS%%%%DOCSDIR%%/FAQ
 %%PORTDOCS%%%%DOCSDIR%%/NEWS



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