> Then this just leaves editors/cooledit.  Diff below builds but not
> really tested as cooledit is currently a barrel of fail on amd64.

diff on top of your work...

update to 3.17.17 with better comment. i ran it and it works... on amd64

still keeping it as BROKEN untl you check it out.

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/cooledit/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile    2 Dec 2011 14:36:13 -0000       1.37
+++ Makefile    13 Dec 2011 18:53:31 -0000
@@ -1,12 +1,16 @@
 # $OpenBSD: Makefile,v 1.37 2011/12/02 14:36:13 espie Exp $
 
-COMMENT =      easy to use, graphical editor
+.include <bsd.port.arch.mk>
+.if ${PROPERTIES:Mlp64}
+BROKEN =       crashes all over the place on LP64 arches, missing prototypes
+.endif
+
+COMMENT =      easy to use, graphical text editor
 
 CATEGORIES =   editors
-MASTER_SITES = ${HOMEPAGE}
-HOMEPAGE =     ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
-DISTNAME =     cooledit-3.17.14
-REVISION =     6
+MASTER_SITES = http://fossies.org/linux/misc/
+HOMEPAGE =     ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/
+DISTNAME =     cooledit-3.17.17
 
 SHARED_LIBS =  Cw      1.0
 
@@ -15,19 +19,19 @@ MAINTAINER =        Marc Espie <espie@openbsd.o
 FLAVORS =      python
 FLAVOR ?=
 
-PYTHON_VER =   2.4
-WANTLIB =      X11 Xau Xdmcp c pthread-stubs util xcb
+WANTLIB =      X11 c util xcb
 USE_LIBTOOL =  Yes
 
 .if ${FLAVOR:Mpython}
-LIB_DEPENDS += python->=${PYTHON_VER},<2.5:lang/python/${PYTHON_VER}
-CONFIGURE_ENV +=PYTHON_VER=${PYTHON_VER} LOCALBASE=${LOCALBASE}
-WANTLIB +=     pthread m python${PYTHON_VER}
+MODULES +=     lang/python
+LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
+CONFIGURE_ENV +=PYTHON_VER=${MODPY_VERSION} LOCALBASE=${LOCALBASE}
+WANTLIB +=     pthread m ${MODPY_WANTLIB}
 .else
 CONFIGURE_ENV +=NOPYTHON=Yes
 .endif
 
-MODULES =      devel/gettext
+MODULES +=     devel/gettext
 USE_GROFF =    Yes
 
 CONFIGURE_STYLE = gnu
@@ -39,7 +43,7 @@ CONFIGURE_ENV += XTERM_CMD=xterm LDFLAGS
 CONFIGURE_ARGS += ${CONFIGURE_SHARED}
 CONFIGURE_ARGS += --enable-static --disable-mail-author
 
-# GPL
+# GPLv2+
 PERMIT_PACKAGE_FTP =   Yes
 PERMIT_DISTFILES_FTP = Yes
 PERMIT_PACKAGE_CDROM = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/cooledit/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    5 Apr 2007 15:38:07 -0000       1.5
+++ distinfo    13 Dec 2011 18:53:31 -0000
@@ -1,5 +1,5 @@
-MD5 (cooledit-3.17.14.tar.gz) = xb+g771hYLW6hotyJBjMAg==
-RMD160 (cooledit-3.17.14.tar.gz) = T1EdmWzkK7kWTdQ9T+8yAOSKBZU=
-SHA1 (cooledit-3.17.14.tar.gz) = /ataBiXKQb5iKKB9N4zto/qYRsc=
-SHA256 (cooledit-3.17.14.tar.gz) = rAhGLMxAqnCm7+ntiiCscE2jewctA4c+YCGmDpVNfJ0=
-SIZE (cooledit-3.17.14.tar.gz) = 1671619
+MD5 (cooledit-3.17.17.tar.gz) = u481TVN4+PqeF4skFBUphw==
+RMD160 (cooledit-3.17.17.tar.gz) = lt3eFPraIgw4EULWgUdzWsXHUWM=
+SHA1 (cooledit-3.17.17.tar.gz) = c/m//LXj6S8KcdPzT+8Z6wKH7gc=
+SHA256 (cooledit-3.17.17.tar.gz) = PA2V1Al5bj2SQF6OwxessEBxO0Msyf+XQvhlfAkr5Ik=
+SIZE (cooledit-3.17.17.tar.gz) = 1674273
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/cooledit/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   16 May 2005 20:26:51 -0000      1.6
+++ pkg/PLIST   13 Dec 2011 18:53:31 -0000
@@ -1,9 +1,9 @@
 @comment $OpenBSD: PLIST,v 1.6 2005/05/16 20:26:51 alek Exp $
-bin/cooledit
+@bin bin/cooledit
 bin/cooledit-gdb
-bin/coolman
+@bin bin/coolman
 bin/coolproject
-bin/smalledit
+@bin bin/smalledit
 lib/libCw.a
 lib/libCw.la
 @man man/man1/cooledit.1

Reply via email to