Date: Sat, 3 Jul 2004 23:00:17 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68630: Update port: ftp/wgetpro Message-ID: <20040703230017.2311dae4.tkato432@yahoo.com> Resent-Message-ID: <200407031410.i63EAUSW057057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68630 >Category: ports >Synopsis: Update port: ftp/wgetpro >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 03 14:10:30 GMT 2004 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: >Description: - Support CFLAGS properly - Support WITHOUT_NLS New file: pkg-plist Remove file: files/patch-configure >How-To-Repeat: >Fix: diff -urN /usr/ports/ftp/wgetpro/Makefile ftp/wgetpro/Makefile --- /usr/ports/ftp/wgetpro/Makefile Tue May 18 10:39:20 2004 +++ ftp/wgetpro/Makefile Wed Jun 30 17:07:40 2004 @@ -16,22 +16,25 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Wget with "PRO" features +USE_PERL5_BUILD= yes USE_GETOPT_LONG= yes USE_OPENSSL= yes -USE_GETTEXT= yes -USE_PERL5_BUILD= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lintl" USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -PLIST_FILES= bin/wpro +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +PLIST_SUB+= NLS="" +.endif post-patch: - @${TOUCH} ${WRKSRC}/configure - -post-install: - @${FIND} ${PREFIX}/share/locale -name "wpro.mo" | \ - ${SED} -e "s,^${PREFIX}/,," >> ${TMPPLIST} + @${PERL} -pi -e 's|^PACKAGE=.*$$|PACKAGE=wpro|g' ${WRKSRC}/configure .include <bsd.port.mk> diff -urN /usr/ports/ftp/wgetpro/files/patch-configure ftp/wgetpro/files/patch-configure --- /usr/ports/ftp/wgetpro/files/patch-configure Tue May 18 10:39:20 2004 +++ ftp/wgetpro/files/patch-configure Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- configure.orig Tue May 18 09:21:47 2004 -+++ configure Tue May 18 09:22:06 2004 -@@ -1443,7 +1443,7 @@ - VERSION=`sed -e 's/^.*"\(.*\)";$/\1/' ${srcdir}/src/version.c` - echo "configuring for WgetPRO $VERSION" - --PACKAGE=wget -+PACKAGE=wpro - - - ac_aux_dir= diff -urN /usr/ports/ftp/wgetpro/pkg-plist ftp/wgetpro/pkg-plist --- /usr/ports/ftp/wgetpro/pkg-plist Thu Jan 1 09:00:00 1970 +++ ftp/wgetpro/pkg-plist Wed Jun 30 17:05:40 2004 @@ -0,0 +1,27 @@ +bin/wpro +%%NLS%%share/locale/bg/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/ca/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/cs/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/da/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/de/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/el/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/es/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/et/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/fr/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/gl/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/he/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/hr/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/hu/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/it/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/ja/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/nl/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/no/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/pl/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/ru/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/sk/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/sl/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/sv/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/tr/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/uk/LC_MESSAGES/wpro.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/wpro.mo >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040703230017.2311dae4.tkato432>