svn commit: r361540 - head/security/pwman
Pawel Pekala
pawel at FreeBSD.org
Fri Jul 11 14:25:56 UTC 2014
Author: pawel
Date: Fri Jul 11 14:25:55 2014
New Revision: 361540
URL: http://svnweb.freebsd.org/changeset/ports/361540
QAT: https://qat.redports.org/buildarchive/r361540/
Log:
- Fix build with clang
- Add staging support
- Convert to new options framework
MFH: 2014Q3
Modified:
head/security/pwman/Makefile
Modified: head/security/pwman/Makefile
==============================================================================
--- head/security/pwman/Makefile Fri Jul 11 14:25:39 2014 (r361539)
+++ head/security/pwman/Makefile Fri Jul 11 14:25:55 2014 (r361540)
@@ -7,7 +7,7 @@ PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Console password management application based on gpg(me)
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2
@@ -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>
More information about the svn-ports-all
mailing list