aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2017-11-17 03:30:55 +0800
committermi <mi@FreeBSD.org>2017-11-17 03:30:55 +0800
commit288d454c5a913a64b8744eddf2140632de49e6ea (patch)
tree6401929032afffbb6ddcca0936ff4dbd16b897a4 /security
parent4073e3dabbee5d88fd02d7c45643c76da8ee425d (diff)
downloadfreebsd-ports-gnome-288d454c5a913a64b8744eddf2140632de49e6ea.tar.gz
freebsd-ports-gnome-288d454c5a913a64b8744eddf2140632de49e6ea.tar.zst
freebsd-ports-gnome-288d454c5a913a64b8744eddf2140632de49e6ea.zip
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
Diffstat (limited to 'security')
-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