aboutsummaryrefslogtreecommitdiff
path: root/graphics/icoutils
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2017-01-19 04:12:36 +0000
committerJason E. Hale <jhale@FreeBSD.org>2017-01-19 04:12:36 +0000
commitcaa1d92eeb85c456a79a884a1dd2ec8bc3fbc872 (patch)
tree5dfca58c0f05d84a20e9cb649fbc39eac97d11f0 /graphics/icoutils
parent878af3e1a0503eeda3af44a0d81efee630592235 (diff)
downloadports-caa1d92eeb85c456a79a884a1dd2ec8bc3fbc872.tar.gz
ports-caa1d92eeb85c456a79a884a1dd2ec8bc3fbc872.zip
Notes
Diffstat (limited to 'graphics/icoutils')
-rw-r--r--graphics/icoutils/Makefile37
-rw-r--r--graphics/icoutils/distinfo5
-rw-r--r--graphics/icoutils/pkg-plist8
3 files changed, 21 insertions, 29 deletions
diff --git a/graphics/icoutils/Makefile b/graphics/icoutils/Makefile
index 5998170ad2ec..936b95e436bc 100644
--- a/graphics/icoutils/Makefile
+++ b/graphics/icoutils/Makefile
@@ -2,49 +2,32 @@
# $FreeBSD$
PORTNAME= icoutils
-PORTVERSION= 0.31.0
-PORTREVISION= 1
+PORTVERSION= 0.31.1
CATEGORIES= graphics
MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert/extract images in Microsoft Windows(R) icon/cursor files
-LICENSE= GPLv3
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
-USES= shebangfix tar:bzip2
+USES= localbase shebangfix tar:bzip2
SHEBANG_FILES= extresso/*.in
GNU_CONFIGURE= yes
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
-
OPTIONS_DEFINE= RESSCRIPTS
-RESSCRIPTS_DESC= Additional resource scripts written in Perl
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MRESSCRIPTS}
-RUN_DEPENDS+= p5-libwww>=0:www/p5-libwww
-USES+= perl5
-USE_PERL5= run
-PLIST_FILES+= bin/extresso bin/genresscript \
- man/man1/extresso.1.gz man/man1/genresscript.1.gz
-.endif
+RESSCRIPTS_DESC= Additional resource scripts written in Perl
+RESSCRIPTS_RUN_DEPENDS= p5-libwww>=0:www/p5-libwww
+RESSCRIPTS_USES= perl5
+RESSCRIPTS_USE= PERL5=run
-post-patch:
+post-patch-RESSCRIPTS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS/s|extresso||' ${WRKSRC}/Makefile.in
-post-install:
-.if ${PORT_OPTIONS:MRESSCRIPTS}
- @(cd ${WRKSRC}/extresso && ${SETENV} ${MAKE_ENV} ${MAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-.endif
-
.include <bsd.port.mk>
diff --git a/graphics/icoutils/distinfo b/graphics/icoutils/distinfo
index e4e017bba9ff..6ab050cfa8f5 100644
--- a/graphics/icoutils/distinfo
+++ b/graphics/icoutils/distinfo
@@ -1,2 +1,3 @@
-SHA256 (icoutils-0.31.0.tar.bz2) = a895d9d74a418d65d39a667e58ae38be79c9e726711384551d36531696f3af71
-SIZE (icoutils-0.31.0.tar.bz2) = 559836
+TIMESTAMP = 1484794814
+SHA256 (icoutils-0.31.1.tar.bz2) = 26e29d3c78f25d4cdf402501ac0414c51a9a092daebf6c9dee3b837dee693093
+SIZE (icoutils-0.31.1.tar.bz2) = 573484
diff --git a/graphics/icoutils/pkg-plist b/graphics/icoutils/pkg-plist
new file mode 100644
index 000000000000..f5367ed47b3a
--- /dev/null
+++ b/graphics/icoutils/pkg-plist
@@ -0,0 +1,8 @@
+%%RESSCRIPTS%%bin/extresso
+%%RESSCRIPTS%%bin/genresscript
+bin/icotool
+bin/wrestool
+%%RESSCRIPTS%%man/man1/extresso.1.gz
+%%RESSCRIPTS%%man/man1/genresscript.1.gz
+man/man1/icotool.1.gz
+man/man1/wrestool.1.gz