svn commit: r454331 - head/security/pdfcrack
Mikhail Teterin
mi at FreeBSD.org
Thu Nov 16 19:30:57 UTC 2017
Author: mi
Date: Thu Nov 16 19:30:55 2017
New Revision: 454331
URL: https://svnweb.freebsd.org/changeset/ports/454331
Log:
Upgrade from 0.15 to 0.16. Install the author's LICENSE-file
instead of our default for the GPLv2+ license and the man-page.
PR: 223700
Submitted by: takefu
Modified:
head/security/pdfcrack/Makefile
head/security/pdfcrack/distinfo
Modified: head/security/pdfcrack/Makefile
==============================================================================
--- head/security/pdfcrack/Makefile Thu Nov 16 19:15:04 2017 (r454330)
+++ head/security/pdfcrack/Makefile Thu Nov 16 19:30:55 2017 (r454331)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pdfcrack
-PORTVERSION= 0.15
+PORTVERSION= 0.16
CATEGORIES= security print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -10,15 +10,21 @@ MAINTAINER= mi at aldan.algebra.com
COMMENT= Cracking tool for password-protected PDF-files
LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
-PLIST_FILES= bin/pdfcrack bin/pdfreader
+PLIST_FILES= bin/pdfcrack bin/pdfreader man/man1/pdfcrack.1.gz
ALL_TARGET= pdfcrack pdfreader
post-patch:
${REINPLACE_CMD} 's,-O.* -g,,' ${WRKSRC}/Makefile
+post-build:
+ ${COMPRESS_CMD} < ${WRKSRC}/pdfcrack.1 > ${WRKSRC}/pdfcrack.1.gz
+
do-install:
${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,bin/,${WRKSRC}/,g} \
${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${PLIST_FILES:Mman/*:S,man/man1/,${WRKSRC}/,g} \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>
Modified: head/security/pdfcrack/distinfo
==============================================================================
--- head/security/pdfcrack/distinfo Thu Nov 16 19:15:04 2017 (r454330)
+++ head/security/pdfcrack/distinfo Thu Nov 16 19:30:55 2017 (r454331)
@@ -1,2 +1,3 @@
-SHA256 (pdfcrack-0.15.tar.gz) = 791043693f9fc261fa326dbcb5e4de3801d6ae552dbea39293f9b2674c250d3e
-SIZE (pdfcrack-0.15.tar.gz) = 34269
+TIMESTAMP = 1510857129
+SHA256 (pdfcrack-0.16.tar.gz) = 7865b203074ccfd5c612c8ce00c46ffcb4fabaa26154ce9304dfc668c7cb73ef
+SIZE (pdfcrack-0.16.tar.gz) = 34467
More information about the svn-ports-head
mailing list