Bug 122641

Summary: [maintainer update] update irc/epic5 to latest version and add features
Product: Ports & Packages Reporter: Josh Paetzel <josh> <josh>
Component: Individual Port(s)Assignee: Beech Rintoul <beech>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff none

Description Josh Paetzel <josh@tcbug.org> 2008-04-11 03:00:08 UTC
Update irc/epic5 to latest released version.
Add optional ruby support
Add optional libiconv support
Use bzip2 distfiles
Remove hard wired versioning in pkg-plist

Fix: PORTNAME=      epic5
-PORTVERSION=   0.3.5
+PORTVERSION=   0.3.8
 CATEGORIES=    irc ipv6
 MASTER_SITES=  http://ftp.epicsol.org/pub/epic/EPIC5-BETA/ \
                http://tehran.lain.pl/epic-mirror/EPIC5-BETA/ \
@@ -22,11 +22,16 @@
 GNU_CONFIGURE= yes
 MAN1=          epic5.1
 USE_OPENSSL=   yes
-CONFIGURE_ARGS+=       --without-ruby
+PLIST_SUB+=    PORTVERSION=${PORTVERSION}
+USE_BZIP2=     yes
+CFLAGS:=       ${CFLAGS:C/-O2/-g -O/g}

 OPTIONS=       IPV6    "IPv6 support"          on \
                TCL     "TCL support"           on \
-               PERL    "Perl scripting support" off
+               PERL    "Perl scripting support" on \
+               RUBY    "Ruby scripting support" on \
+               TERMCAP "Refuse to use terminfo/ncurses" off \
+               ICONV   "Enable experimental iconv support" off

 .include <bsd.port.pre.mk>

@@ -55,6 +60,33 @@
 .if defined(WITH_PERL)
 USE_PERL5=     yes
 CONFIGURE_ARGS+=       --with-perl=${SITE_PERL}/../../${PERL_VER}/mach/CORE
+.else
+CONFIGURE_ARGS+=       --without-perl
+.endif
+
+## WITH_RUBY:  enable ruby scripting support
+#
+.if defined(WITH_RUBY)
+USE_RUBY=              yes
+.include "${PORTSDIR}/Mk/bsd.ruby.mk"
+CONFIGURE_ARGS+=       --with-ruby
+.else
+CONFIGURE_ARGS+=       --without-ruby
+.endif
+
+## WITH_TERMCAP                forecably refuse to use terminfo/ncurses
+#
+.if defined(WITH_TERMCAP)
+CONFIGURE_ARGS+=       --with-termcap
+.endif
+
+## WITH_ICONV          experimental iconv support
+#
+.if defined(WITH_ICONV)
+LIB_DEPENDS+=          iconv:${PORTSDIR}/converters/libiconv
+CONFIGURE_ARGS+=       --with-iconv
+.else
+CONFIGURE_ARGS+=       --without-iconv
 .endif

 post-extract:
How-To-Repeat: N/A
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-11 03:00:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this category PRs (via the GNATS Auto Assign Tool)
Comment 2 Beech Rintoul freebsd_committer freebsd_triage 2008-04-14 04:00:04 UTC
Please re-roll this patch, it doesn't apply to head.

stargate# patch <pr-patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- Makefile.old        2008-04-11 00:13:27.000000000 +0000
|+++ Makefile    2008-04-11 01:34:15.000000000 +0000
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 6.
Hunk #2 failed at 22.
Hunk #3 failed at 60.
3 out of 3 hunks failed--saving rejects to Makefile.rej

-- 
---------------------------------------------------------------------------------------
Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/7.0R/announce.html
---------------------------------------------------------------------------------------
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2008-04-14 04:00:37 UTC
State Changed
From-To: open->feedback

Patch doesn't apply, awaiting maintainer feedback.
Comment 4 Pietro Cerutti freebsd_committer freebsd_triage 2008-04-14 23:48:41 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi beech,
please try this one, it applies cleanly here:

http://gahr.ch/FreeBSD/patches/_pending/epic5.diff

- --
Pietro Cerutti
gahr@FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEAREKAAYFAkgD30gACgkQwMJqmJVx945ibACg3MknJa587oivtf70cThfLI/2
pIQAn3zpP5JIcXyAPRXe69ZCheRAwLQh
=ouAL
-----END PGP SIGNATURE-----
Comment 5 dfilter service freebsd_committer freebsd_triage 2008-04-15 02:08:28 UTC
beech       2008-04-15 01:08:23 UTC

  FreeBSD ports repository

  Modified files:
    irc/epic5            Makefile distinfo pkg-plist 
  Log:
  - Update to 0.3.8
  - Add optional ruby support
  - Add optional libiconv support
  - Use bzip2 distfiles
  - Remove hard wired versioning in pkg-plist
  
  PR:             ports/122641
  Submitted by:   Josh Paetzel <josh@tcbug.org> (maintainer)
  
  Revision  Changes    Path
  1.64      +34 -3     ports/irc/epic5/Makefile
  1.36      +3 -3      ports/irc/epic5/distinfo
  1.35      +1 -1      ports/irc/epic5/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Beech Rintoul freebsd_committer freebsd_triage 2008-04-15 02:08:59 UTC
State Changed
From-To: feedback->closed

Committed, Thanks!