From owner-svn-ports-all@FreeBSD.ORG Sun Feb 23 16:13:59 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42D93441; Sun, 23 Feb 2014 16:13:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F7551CE2; Sun, 23 Feb 2014 16:13:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1NGDxtd012981; Sun, 23 Feb 2014 16:13:59 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1NGDwAx012977; Sun, 23 Feb 2014 16:13:58 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201402231613.s1NGDwAx012977@svn.freebsd.org> From: Martin Wilke Date: Sun, 23 Feb 2014 16:13:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r345749 - head/graphics/optar X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 16:13:59 -0000 Author: miwi Date: Sun Feb 23 16:13:58 2014 New Revision: 345749 URL: http://svnweb.freebsd.org/changeset/ports/345749 QAT: https://qat.redports.org/buildarchive/r345749/ Log: - Support CC/CFLAGS properly - Update MASTER_SITES - Add LICENSE PR: 186734 Submitted by: ports fury Modified: head/graphics/optar/Makefile head/graphics/optar/distinfo head/graphics/optar/pkg-descr Modified: head/graphics/optar/Makefile ============================================================================== --- head/graphics/optar/Makefile Sun Feb 23 16:11:38 2014 (r345748) +++ head/graphics/optar/Makefile Sun Feb 23 16:13:58 2014 (r345749) @@ -3,31 +3,37 @@ PORTNAME= optar PORTVERSION= 1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics -MASTER_SITES= http://xps.crucible.gr/ -DISTFILES= optar.tgz \ - font.h -EXTRACT_ONLY= optar.tgz +MASTER_SITES= http://ronja.twibright.com/ +DISTFILES= optar.tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A tool for encoding data on paper +COMMENT= Tool for encoding data on paper -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2014-03-10 +LICENSE= GPLv2 -BUILD_DEPENDS= ${LOCALBASE}/include/libpng15/png.h:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/optar +WRKSRC= ${WRKDIR}/optar_dist + +USES= gmake PLIST_FILES= bin/optar bin/unoptar bin/pgm2ps -NO_STAGE= yes -post-extract: - @${RM} -v ${WRKSRC}/font.h - @${CP} -v ${DISTDIR}/font.h ${WRKSRC}/font.h - @${SED} 's:/usr/local:${LOCALBASE}:g' ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new - @${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CFLAGS|#CFLAGS| ; \ + s|gcc |$$(CC) | ; \ + s|-I/usr/local/include/libpng|`libpng-config --I_opts`| ; \ + s|-L/usr/local/lib|`libpng-config --L_opts`|' \ + ${WRKSRC}/Makefile + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} optar unoptar \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_SCRIPT} pgm2ps \ + ${STAGEDIR}${PREFIX}/bin) + .include Modified: head/graphics/optar/distinfo ============================================================================== --- head/graphics/optar/distinfo Sun Feb 23 16:11:38 2014 (r345748) +++ head/graphics/optar/distinfo Sun Feb 23 16:13:58 2014 (r345749) @@ -1,4 +1,2 @@ -SHA256 (optar.tgz) = 9c37dfba31e2d5ebb43a2ac066b67d774bf7ba059f882047668be6567793c942 -SIZE (optar.tgz) = 28384 -SHA256 (font.h) = f4e284c152fde4034f0950e4b52ee137f0e3085dd510f3ccc898aaaf3d8f3bce -SIZE (font.h) = 81164 +SHA256 (optar.tgz) = b78fa6a41f6c699917f8b537c63bdf99b93133f034b4e1eaeabd0b6cbc9c5819 +SIZE (optar.tgz) = 37825 Modified: head/graphics/optar/pkg-descr ============================================================================== --- head/graphics/optar/pkg-descr Sun Feb 23 16:11:38 2014 (r345748) +++ head/graphics/optar/pkg-descr Sun Feb 23 16:13:58 2014 (r345749) @@ -1,6 +1,5 @@ -Optar stands for OPTical ARchiver. -It's a codec for encoding data on paper, then you print it with a laser printer. -If you want to read the recording, scan it with a scanner and feed into the -decoder program. +Optar stands for OPTical ARchiver. It's a codec for encoding data on +paper, then you print it with a laser printer. If you want to read the +recording, scan it with a scanner and feed into the decoder program. WWW: http://ronja.twibright.com/optar/