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
This commit is contained in:
Mikhail Teterin 2017-11-16 19:30:55 +00:00
parent 5b0b16849d
commit 0ff3faf05f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454331
2 changed files with 11 additions and 4 deletions

View File

@ -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>

View File

@ -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