summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2017-11-16 19:30:55 +0000
committerMikhail Teterin <mi@FreeBSD.org>2017-11-16 19:30:55 +0000
commit0ff3faf05ffec2132019d1a7dc5e872ffdaf22c4 (patch)
tree6401929032afffbb6ddcca0936ff4dbd16b897a4
parentwww/mod_md-devel: Bugfix update to 1.0.3 (diff)
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
-rw-r--r--security/pdfcrack/Makefile10
-rw-r--r--security/pdfcrack/distinfo5
2 files changed, 11 insertions, 4 deletions
diff --git a/security/pdfcrack/Makefile b/security/pdfcrack/Makefile
index 2684685dbfc5..11674a815101 100644
--- a/security/pdfcrack/Makefile
+++ b/security/pdfcrack/Makefile
@@ -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@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>
diff --git a/security/pdfcrack/distinfo b/security/pdfcrack/distinfo
index cc672f822930..36db0016cf5e 100644
--- a/security/pdfcrack/distinfo
+++ b/security/pdfcrack/distinfo
@@ -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