diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2012-10-08 16:17:22 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2012-10-08 16:17:22 +0000 |
commit | f545ccf0852c8bb10ede4dd5cc9878e54864a772 (patch) | |
tree | 926f4387c395f54a3f76618e9e0c601f883498bb /graphics/icoutils | |
parent | b80a374bd74305228150422455dbd4506dba97e8 (diff) | |
download | ports-f545ccf0852c8bb10ede4dd5cc9878e54864a772.tar.gz ports-f545ccf0852c8bb10ede4dd5cc9878e54864a772.zip |
Notes
Diffstat (limited to 'graphics/icoutils')
-rw-r--r-- | graphics/icoutils/Makefile | 26 | ||||
-rw-r--r-- | graphics/icoutils/files/extra-patch-Makefile.in | 11 | ||||
-rw-r--r-- | graphics/icoutils/files/extra-patch-configure.ac | 13 |
3 files changed, 44 insertions, 6 deletions
diff --git a/graphics/icoutils/Makefile b/graphics/icoutils/Makefile index f35a892c633b..705ab257f26e 100644 --- a/graphics/icoutils/Makefile +++ b/graphics/icoutils/Makefile @@ -3,6 +3,7 @@ PORTNAME= icoutils PORTVERSION= 0.30.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SAVANNAH @@ -12,23 +13,36 @@ COMMENT= Convert/extract images in Microsoft Windows(R) icon/cursor files LICENSE= GPLv3 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png -RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww USE_BZIP2= yes -USE_PERL5_RUN= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls MAKE_JOBS_SAFE= yes -MAN1= extresso.1 genresscript.1 icotool.1 wrestool.1 -PLIST_FILES= bin/extresso \ - bin/genresscript \ - bin/icotool \ +MAN1= icotool.1 wrestool.1 +PLIST_FILES= bin/icotool \ bin/wrestool CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +OPTIONS_DEFINE= RESSCRIPTS +RESSCRIPTS_DESC= PERL resource scripts + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MRESSCRIPTS} +RUN_DEPENDS+= p5-libwww>=0:${PORTSDIR}/www/p5-libwww +USE_PERL5_RUN= yes +MAN1+= extresso.1 genresscript.1 +PLIST_FILES+= bin/extresso \ + bin/genresscript +.else +post-patch: +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in \ + ${FILESDIR}/extra-patch-configure.ac +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" diff --git a/graphics/icoutils/files/extra-patch-Makefile.in b/graphics/icoutils/files/extra-patch-Makefile.in new file mode 100644 index 000000000000..6b0317c177c6 --- /dev/null +++ b/graphics/icoutils/files/extra-patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2012-10-08 14:19:17.000000000 +0400 ++++ Makefile.in 2012-10-08 14:19:35.000000000 +0400 +@@ -604,7 +604,7 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + ACLOCAL_AMFLAGS = -I m4 +-SUBDIRS = po lib common icotool wrestool extresso ++SUBDIRS = po lib common icotool wrestool + EXTRA_DIST = \ + data/icons/icon-linux_penguin-20x20-16c.png \ + data/icons/icon-linux_penguin-16x16-16c.png \ diff --git a/graphics/icoutils/files/extra-patch-configure.ac b/graphics/icoutils/files/extra-patch-configure.ac new file mode 100644 index 000000000000..bedeb3f768af --- /dev/null +++ b/graphics/icoutils/files/extra-patch-configure.ac @@ -0,0 +1,13 @@ +--- configure.ac.orig 2012-10-08 13:47:35.000000000 +0400 ++++ configure.ac 2012-10-08 13:47:59.000000000 +0400 +@@ -69,9 +69,5 @@ AC_CONFIG_FILES([Makefile + po/Makefile.in + lib/Makefile + common/Makefile +- icotool/Makefile +- wrestool/Makefile +- extresso/Makefile]) +-AC_CONFIG_FILES([extresso/extresso], [chmod +x extresso/extresso]) +-AC_CONFIG_FILES([extresso/genresscript], [chmod +x extresso/genresscript]) ++ icotool/Makefile) + AC_OUTPUT |