From 033eb6313bb7b7035d49a350f319de6e6c7bfb60 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 31 Dec 2012 11:55:52 +0000 Subject: Finish optionsng conversion Trim headers Remove useless LICENSE_FILE --- graphics/jbig2dec/Makefile | 8 +------- graphics/jbig2dec/pkg-descr | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'graphics') diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile index 6a7ca7b62dea..cbb35ee2e2f6 100644 --- a/graphics/jbig2dec/Makefile +++ b/graphics/jbig2dec/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: jbig2dec -# Date created: 2010-07-07 -# Whom: Bapt -# # $FreeBSD$ -# PORTNAME= jbig2dec PORTVERSION= 0.11 @@ -32,7 +27,6 @@ MAKE_JOBS_SAFE= yes EXTRACT_AFTER_ARGS+=|${TAR} -xpf - --exclude sha1.h --exclude 'getopt*' LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/COPYING .include @@ -58,7 +52,7 @@ EXTRA_PATCHES= ${FILESDIR}/simpler-test-patch .endif post-patch: -.if defined(WITH_PNG) +.if ${PORT_OPTIONS:MPNG} @${REINPLACE_CMD} 's/png_check_sig/png_sig_cmp/g' ${WRKSRC}/configure .endif ${REINPLACE_CMD} -E 's|SHA1_Final\( *([^,]+), *([^\)]+)\)|SHA1_Final(\2, \1)|' \ diff --git a/graphics/jbig2dec/pkg-descr b/graphics/jbig2dec/pkg-descr index 42aaf2afd6f8..c1f0a65a4869 100644 --- a/graphics/jbig2dec/pkg-descr +++ b/graphics/jbig2dec/pkg-descr @@ -4,4 +4,4 @@ images at moderately high resolution, and in particular scanned paper documents. In this domain it is very efficient, offering compression ratios on the order of 100:1. -WWW: http://jbig2dec.sourceforge.net/ +WWW: http://jbig2dec.sourceforge.net/ -- cgit