Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2014 09:45:28 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347731 - head/security/ophcrack
Message-ID:  <201403100945.s2A9jSKC066679@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Mar 10 09:45:28 2014
New Revision: 347731
URL: http://svnweb.freebsd.org/changeset/ports/347731
QAT: https://qat.redports.org/buildarchive/r347731/

Log:
  Stagify; convert LIB_DEPENDS and USE_GMAKE.

Modified:
  head/security/ophcrack/Makefile

Modified: head/security/ophcrack/Makefile
==============================================================================
--- head/security/ophcrack/Makefile	Mon Mar 10 09:41:41 2014	(r347730)
+++ head/security/ophcrack/Makefile	Mon Mar 10 09:45:28 2014	(r347731)
@@ -12,18 +12,18 @@ COMMENT=	Windows password cracker based 
 LICENSE=	APACHE20 GPLv2
 LICENSE_COMB=	multi
 
-LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
+USES=		gmake
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_OPENSSL=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 PLIST_FILES=	bin/ophcrack
-PORTDOCS=	*
+PORTDOCS=	ChangeLog README
 
 OPTIONS_DEFINE=	X11 GRAPH DOCS
 OPTIONS_DEFAULT=	X11 GRAPH
@@ -31,7 +31,6 @@ OPTIONS_DEFAULT=	X11 GRAPH
 X11_DESC=	Build Qt 4 GUI frontend
 GRAPH_DESC=	Enable graph rendering via Qwt
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MX11} || ${PORT_OPTIONS:MGRAPH}
@@ -47,11 +46,8 @@ CONFIGURE_ARGS+=	--disable-graph
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${DOCSDIR}
-.endif
-	@${ECHO_MSG} ; ${CAT} ${PKGMESSAGE} ; ${ECHO_MSG}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
 BROKEN=		Does not compile on ia64, powerpc, or sparc64



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