On Fri, Apr 11, 2008 at 06:52:47PM -0700, Chris Kuethe wrote:
> On Fri, Apr 11, 2008 at 6:45 PM, Chris Kuethe <[EMAIL PROTECTED]> wrote:
> > On Fri, Apr 11, 2008 at 6:33 PM, Paul Irofti <[EMAIL PROTECTED]> wrote:
> >  >  Yeah, that would be pretty cool!
> >
> >  Doesn't build .... patch-io* don't apply any more :(
> 
> This is ugly...
> : configure: warning: openbsd4.3: unknown target OS, assuming
> POSIX-compatible...
> : *** POSIX-generic, we need (n)curses, '-pipe' disabled for safety
> 
> Why not try pick up archivers/lzo?
> : checking for lzo1x_1_compress in -llzo2... no
> : checking for lzo1x_1_compress in -llzo... no
> : configure: WARNING: ***
> : *** Could not find liblzo or liblzo2. Will use the included minilzo.
> 

Here you go, with lzo deps... I wasn't sure if I should add this dep or
not as the port already had an internal lzo.
? ht.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/ht/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile    6 Nov 2007 06:33:51 -0000       1.9
+++ Makefile    12 Apr 2008 02:38:44 -0000
@@ -2,10 +2,11 @@
 
 COMMENT=               file editor/viewer/analyzer for executables
 
-DISTNAME=              ht-0.7.4
-PKGNAME=               ${DISTNAME}p1
+DISTNAME=              ht-2.0.12
 CATEGORIES=            editors
 
+MAINTAINER=            Paul Irofti <[EMAIL PROTECTED]>
+
 HOMEPAGE=              http://hte.sourceforge.net/
 
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=hte/}
@@ -18,27 +19,35 @@
 WANTLIB=               c m ncurses stdc++
 
 CONFIGURE_STYLE=       gnu
-USE_GMAKE=             Yes
 
 FLAVORS=               no_x11
 FLAVOR?=
 
+LIB_DEPENDS=           lzo.>=1::archivers/lzo
+
 .if ${FLAVOR:Mno_x11}
 CONFIGURE_ARGS+=       --disable-x11-textmode
+CONFIGURE_ENV=         CPPFLAGS="-I${LOCALBASE}/include"       \
+                           LDFLAGS="-L$(LOCALBASE)/lib"
 .else
 USE_X11=               Yes
-CONFIGURE_ENV=         X11BASE=${X11BASE} CPPFLAGS=-I${X11BASE}/include
+CONFIGURE_ENV=         X11BASE=${X11BASE}                      \
+                           CPPFLAGS="-I${X11BASE}/include      \
+                           -I${LOCALBASE}/include"             \
+                           LDFLAGS="-L$(LOCALBASE)/lib"
 CONFIGURE_ARGS+=       --x-includes=${X11BASE}/include \
-                       --x-libraries=${X11BASE}/lib
+                           --x-libraries=${X11BASE}/lib
 WANTLIB+=              X11
 .endif
 
 DOCS=                  README ht.html
+INFO=                  ht.info hthelp.info
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ht
        cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} \
-         ${PREFIX}/share/doc/ht 
+         ${PREFIX}/share/doc/ht && ${INSTALL_DATA} ${INFO} \
+         ${PREFIX}/info/
 
 NO_REGRESS=            Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/ht/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo    5 Apr 2007 15:38:07 -0000       1.6
+++ distinfo    12 Apr 2008 02:38:44 -0000
@@ -1,5 +1,5 @@
-MD5 (ht-0.7.4.tar.gz) = zbe0LLja7fEiQlQGuzzP3g==
-RMD160 (ht-0.7.4.tar.gz) = zXv7Gxj/yRRdcjYQ+z/7F+wIfgU=
-SHA1 (ht-0.7.4.tar.gz) = 8Dkgkr7iRPda5KREal17YmKLVTA=
-SHA256 (ht-0.7.4.tar.gz) = ONZpYiHuGoAQkrKfbs41kwbtSLjOMtSfYnIIaGefLPk=
-SIZE (ht-0.7.4.tar.gz) = 809899
+MD5 (ht-2.0.12.tar.gz) = K3BPCklG2gLeuHl7DVAJRg==
+RMD160 (ht-2.0.12.tar.gz) = pB6nwjXIq3hLAcCHyXurtjz2l60=
+SHA1 (ht-2.0.12.tar.gz) = RcaxzTGSfNQ+l1PiX9MkLXdA0kY=
+SHA256 (ht-2.0.12.tar.gz) = sUgSO60vS9MHJfeMTBdQeaeF7pxM8+eC8ZYa0bZDTwQ=
+SIZE (ht-2.0.12.tar.gz) = 1046455
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/ht/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- pkg/PLIST   6 Nov 2007 06:33:51 -0000       1.3
+++ pkg/PLIST   12 Apr 2008 02:38:44 -0000
@@ -1,6 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.3 2007/11/06 06:33:51 bernd Exp $
 @conflict texlive_base-*
 bin/ht
+info/ht.info
+info/hthelp.info
 share/doc/ht/
 share/doc/ht/README
 share/doc/ht/ht.html

Reply via email to