svn commit: r356151 - head/mail/qmail-auditor

Michael Gmelin grembo at FreeBSD.org
Sun Jun 1 16:32:06 UTC 2014


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%%
+ at owner qmailq
+ at group qmail
+ at mode 4511
+bin/qmail-auditor


More information about the svn-ports-head mailing list