Date: Mon, 27 May 2013 14:23:04 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319247 - in head/graphics/icoutils: . files Message-ID: <201305271423.r4REN4m5023873@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Mon May 27 14:23:04 2013 New Revision: 319247 URL: http://svnweb.freebsd.org/changeset/ports/319247 Log: - Support shebangfix PR: 178870 Submitted by: Ports Fury Deleted: head/graphics/icoutils/files/ Modified: head/graphics/icoutils/Makefile Modified: head/graphics/icoutils/Makefile ============================================================================== --- head/graphics/icoutils/Makefile Mon May 27 14:21:14 2013 (r319246) +++ head/graphics/icoutils/Makefile Mon May 27 14:23:04 2013 (r319247) @@ -13,20 +13,22 @@ LICENSE= GPLv3 LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +OPTIONS_DEFINE= RESSCRIPTS +RESSCRIPTS_DESC= PERL resource scripts + USE_BZIP2= yes +USES= shebangfix +SHEBANG_FILES= extresso/*.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls MAKE_JOBS_SAFE= yes -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 +MAN1= icotool.1 wrestool.1 +PLIST_FILES= bin/icotool \ + bin/wrestool .include <bsd.port.options.mk> @@ -36,10 +38,6 @@ 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> @@ -48,4 +46,14 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch- BROKEN= Does not link on sparc64 .endif +post-patch: + @${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.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271423.r4REN4m5023873>