Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 06:47:31 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369005 - head/graphics/icoutils
Message-ID:  <201409230647.s8N6lVgv092944@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Sep 23 06:47:31 2014
New Revision: 369005
URL: http://svnweb.freebsd.org/changeset/ports/369005
QAT: https://qat.redports.org/buildarchive/r369005/

Log:
  - Finish stagifying to unbreak packing with RESSCRIPTS option
  - Convert USE_BZIP2 to USES=tar:bzip2, move OPTIONS knobs lower
  - Fix excessive line wrapping; Reformat and augment port description text
  - Do not insist on linking problems sparc64; it was added 5 years ago and
    not officially supported anyways

Modified:
  head/graphics/icoutils/Makefile
  head/graphics/icoutils/pkg-descr

Modified: head/graphics/icoutils/Makefile
==============================================================================
--- head/graphics/icoutils/Makefile	Tue Sep 23 04:35:23 2014	(r369004)
+++ head/graphics/icoutils/Makefile	Tue Sep 23 06:47:31 2014	(r369005)
@@ -13,11 +13,7 @@ LICENSE=	GPLv3
 
 LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
 
-OPTIONS_DEFINE=	RESSCRIPTS
-RESSCRIPTS_DESC=	PERL resource scripts
-
-USE_BZIP2=	yes
-USES=		shebangfix
+USES=		shebangfix tar:bzip2
 SHEBANG_FILES=	extresso/*.in
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-nls
@@ -25,10 +21,11 @@ CONFIGURE_ARGS=	--disable-nls
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-PLIST_FILES=	bin/icotool \
-		bin/wrestool \
-		man/man1/icotool.1.gz \
-		man/man1/wrestool.1.gz
+PLIST_FILES=	bin/icotool bin/wrestool \
+		man/man1/icotool.1.gz man/man1/wrestool.1.gz
+
+OPTIONS_DEFINE=	RESSCRIPTS
+RESSCRIPTS_DESC=	Additional resource scripts written in Perl
 
 .include <bsd.port.options.mk>
 
@@ -36,20 +33,12 @@ PLIST_FILES=	bin/icotool \
 RUN_DEPENDS+=	p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 USES+=		perl5
 USE_PERL5=	run
-MAN1+=		extresso.1 genresscript.1
-PLIST_FILES+=	bin/extresso \
-		bin/genresscript
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN=		Does not link on sparc64
+PLIST_FILES+=	bin/extresso bin/genresscript \
+		man/man1/extresso.1.gz man/man1/genresscript.1.gz
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^SUBDIRS/s|extresso||' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/^SUBDIRS/s|extresso||' ${WRKSRC}/Makefile.in
 
 post-install:
 .if ${PORT_OPTIONS:MRESSCRIPTS}
@@ -57,4 +46,4 @@ post-install:
 		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/icoutils/pkg-descr
==============================================================================
--- head/graphics/icoutils/pkg-descr	Tue Sep 23 04:35:23 2014	(r369004)
+++ head/graphics/icoutils/pkg-descr	Tue Sep 23 06:47:31 2014	(r369005)
@@ -1,13 +1,23 @@
-[ excerpt with modifications from developer's site ]
+The icoutils are a set of program for extracting and converting images in
+Microsoft Windows(R) icon and cursor files.  These files usually have the
+extension .ico or .cur, but they can also be embedded in executables and
+libraries (.dll-files).
 
-The icoutils are a set of program for extracting and converting
-images in Microsoft Windows(R) icon and cursor files. These files
-usually have the extension .ico or .cur, but they can also be
-embedded in executables and libraries (.dll-files).
+The icotool program converts icon and cursor files into a set of PNG images.
+(Each icon/cursor file may contain multiple images, usually of different
+sizes and with different number of colors.)  Icotool can also create
+icon/cursor files from PNG images.
 
-The icotool program converts icon and cursor files into a set of
-PNG images. (Each icon/cursor file may contain multiple images,
-usually of different sizes and with different number of colors.)
-Icotool can also create icon/cursor files from PNG images.
+The wrestool program can extract both icons and cursors from 32-bit ("PE")
+and 16-bit ("NE") executables and libraries.  It writes .ico and .cur files
+that can be used on Windows(R) operating systems as well.  Other types of
+embedded resourced can be extracted, however only in raw form -- icons and
+cursors require additional conversion before they can be saved as icon and
+cursor files.
+
+The extresso script automates the tasks of extracting and converting icons.
+This is done with the help of of special resource scripts.  The purpose of
+these scripts are to give names to the icons in the executables and
+libraries.
 
 WWW: http://www.nongnu.org/icoutils/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409230647.s8N6lVgv092944>