Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 09:07:40 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361514 - head/security/courieruserinfo
Message-ID:  <201407110907.s6B97equ053081@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Jul 11 09:07:40 2014
New Revision: 361514
URL: http://svnweb.freebsd.org/changeset/ports/361514
QAT: https://qat.redports.org/buildarchive/r361514/

Log:
  - Add staging support, allow it as regular user
  - Switch to PLIST_FILES, PORTDOCS

Deleted:
  head/security/courieruserinfo/pkg-plist
Modified:
  head/security/courieruserinfo/Makefile

Modified: head/security/courieruserinfo/Makefile
==============================================================================
--- head/security/courieruserinfo/Makefile	Fri Jul 11 09:05:53 2014	(r361513)
+++ head/security/courieruserinfo/Makefile	Fri Jul 11 09:07:40 2014	(r361514)
@@ -6,7 +6,7 @@ PORTVERSION=	1.1.2
 CATEGORIES=	security mail
 MASTER_SITES=	http://www.arda.homeunix.net/software-downloads/
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	User account information retrieval utility
 
 BUILD_DEPENDS=	courierauthconfig:${PORTSDIR}/security/courier-authlib-base
@@ -17,23 +17,16 @@ USES=		gmake
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN8=		courieruserinfo.8
+PLIST_FILES=	sbin/courieruserinfo man/man8/courieruserinfo.8.gz
+PORTDOCS=	AUTHORS ChangeLog COPYING INSTALL NEWS README
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+post-patch:
+	@${REINPLACE_CMD} '/chown root/d' ${WRKSRC}/Makefile.in
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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