Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 03:25:02 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343424 - head/mail/qmhandle
Message-ID:  <201402090325.s193P2Ni063309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Feb  9 03:25:02 2014
New Revision: 343424
URL: http://svnweb.freebsd.org/changeset/ports/343424
QAT: https://qat.redports.org/buildarchive/r343424/

Log:
  - Support STAGEDIR
  - Remove bsd.port.pre.mk usage

Modified:
  head/mail/qmhandle/Makefile

Modified: head/mail/qmhandle/Makefile
==============================================================================
--- head/mail/qmhandle/Makefile	Sun Feb  9 03:11:45 2014	(r343423)
+++ head/mail/qmhandle/Makefile	Sun Feb  9 03:25:02 2014	(r343424)
@@ -16,13 +16,12 @@ OPTIONS_DEFINE=	DOCS
 
 USES=		qmail:run perl5
 
-NO_STAGE=	yes
 NO_BUILD=	yes
 USE_BZIP2=	yes
 
 PORTDOCS=	HISTORY README
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,^#!/usr/bin/perl,#!${PERL},g' \
@@ -33,15 +32,13 @@ post-patch:
 		${WRKSRC}/qmHandle.conf.sample
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/qmHandle.conf.sample ${PREFIX}/etc
-	[ -f ${PREFIX}/etc/qmHandle.conf ] || \
-		${INSTALL_DATA} -m 0644 ${WRKSRC}/qmHandle.conf.sample ${PREFIX}/etc/qmHandle.conf
+	${INSTALL_SCRIPT} ${WRKSRC}/qmHandle ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/qmHandle.conf.sample ${STAGEDIR}${PREFIX}/etc
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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