mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- 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
This commit is contained in:
parent
dd8257ed58
commit
5d235cbb50
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369005
@ -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>
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user