svn commit: r340086 - head/security/truecrack

Baptiste Daroussin bapt at FreeBSD.org
Fri Jan 17 17:32:50 UTC 2014


Author: bapt
Date: Fri Jan 17 17:32:49 2014
New Revision: 340086
URL: http://svnweb.freebsd.org/changeset/ports/340086
QAT: https://qat.redports.org/buildarchive/r340086/

Log:
  Support stage
  Get rid of NOPORTDATA
  Convert USE_GMAKE ->USES = gmake
  Do not include the license file for a well known license

Modified:
  head/security/truecrack/Makefile

Modified: head/security/truecrack/Makefile
==============================================================================
--- head/security/truecrack/Makefile	Fri Jan 17 17:27:17 2014	(r340085)
+++ head/security/truecrack/Makefile	Fri Jan 17 17:32:49 2014	(r340086)
@@ -9,32 +9,26 @@ MASTER_SITES=	https://truecrack.googleco
 DISTNAME=	${PORTNAME}
 
 MAINTAINER=	zi at FreeBSD.org
-COMMENT=	A password cracker for TrueCrypt volumes
+COMMENT=	Password cracker for TrueCrypt volumes
 
 LICENSE=	GPLv3
-LICENSE_FILE=	${WRKSRC}/license.txt
 
-USE_GMAKE=	yes
+USES=		gmake
 CFLAGS+=	-DTC_BSD
 PLIST_FILES=	bin/truecrack
 
-.if !defined(NOPORTDATA)
 DICTIONARIES=	dictionary_100k.txt dictionary_10k.txt dictionary.txt
 PORTDATA=	${DICTIONARIES}
-.endif
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's/CFLAGS =/CFLAGS +=/g' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's/return ;/return 0;/g' ${WRKSRC}/Main/Utils.c
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/truecrack ${PREFIX}/bin
-.if !defined(NOPORTDATA)
+	${INSTALL_PROGRAM} ${WRKSRC}/truecrack ${STAGEDIR}${PREFIX}/bin
 .for dict in ${DICTIONARIES}
-	@${MKDIR} ${DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/${dict} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/${dict} ${STAGEDIR}${DATADIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list