Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 16:32:06 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356151 - head/mail/qmail-auditor
Message-ID:  <201406011632.s51GW6b6056232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Sun Jun  1 16:32:06 2014
New Revision: 356151
URL: http://svnweb.freebsd.org/changeset/ports/356151
QAT: https://qat.redports.org/buildarchive/r356151/

Log:
  Stagify. Uncommon order of pkg-plist entries is due to
  problems with old pkg_tools (PORTDOCS won't to the right
  thing, resetting will use wrong user if built using
  non-root user, explicitly stating root:wheel seems in-
  correct too, therefore I moved them to the top)
  
  Reviewed by:	flo (mentor)
  Approved by:	flo (mentor)

Added:
  head/mail/qmail-auditor/pkg-plist   (contents, props changed)
Modified:
  head/mail/qmail-auditor/Makefile

Modified: head/mail/qmail-auditor/Makefile
==============================================================================
--- head/mail/qmail-auditor/Makefile	Sun Jun  1 16:29:59 2014	(r356150)
+++ head/mail/qmail-auditor/Makefile	Sun Jun  1 16:32:06 2014	(r356151)
@@ -18,24 +18,16 @@ GNU_CONFIGURE=	yes
 SUB_FILES=	pkg-message
 SUB_LIST=	QMAIL_PREFIX=${QMAIL_PREFIX}
 
-PLIST_FILES=	bin/qmail-auditor
-
-PORTDOCS=	README
-
-INSTALL_TARGET=	perm
-
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local|@prefix@|g' \
+	@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \
 	${WRKSRC}/src/Makefile.in
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>

Added: head/mail/qmail-auditor/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/qmail-auditor/pkg-plist	Sun Jun  1 16:32:06 2014	(r356151)
@@ -0,0 +1,6 @@
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+@owner qmailq
+@group qmail
+@mode 4511
+bin/qmail-auditor



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