Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 15:36:17 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r361552 - branches/2014Q3/security/pwman
Message-ID:  <201407111536.s6BFaHFk039724@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Jul 11 15:36:17 2014
New Revision: 361552
URL: http://svnweb.freebsd.org/changeset/ports/361552
QAT: https://qat.redports.org/buildarchive/r361552/

Log:
  MFH: r361540
  
  - Fix build with clang
  - Add staging support
  - Convert to new options framework
  
  Approved by:	portmgr (erwin)

Modified:
  branches/2014Q3/security/pwman/Makefile
Directory Properties:
  branches/2014Q3/   (props changed)

Modified: branches/2014Q3/security/pwman/Makefile
==============================================================================
--- branches/2014Q3/security/pwman/Makefile	Fri Jul 11 15:35:36 2014	(r361551)
+++ branches/2014Q3/security/pwman/Makefile	Fri Jul 11 15:36:17 2014	(r361552)
@@ -15,20 +15,18 @@ RUN_DEPENDS=	gpgv:${PORTSDIR}/security/g
 
 GNU_CONFIGURE=	yes
 
-MAN1=		pwman.1
-
-PLIST_FILES=	bin/convert_pwdb bin/pwdb2csv bin/pwman
+CFLAGS+=	-Wno-return-type
 
+PLIST_FILES=	bin/convert_pwdb bin/pwdb2csv bin/pwman man/man1/pwman.1.gz
 PORTDOCS=	AUTHORS COPYING ChangeLog README TODO
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin/gpg|${LOCALBASE}/bin/gpg|g' ${WRKSRC}/src/options.c
 
-.if !defined(NOPORTDOCS)
 post-install:
-	@${INSTALL} -d -m 0755 ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	@${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?201407111536.s6BFaHFk039724>