diff options
author | will <will@FreeBSD.org> | 2000-06-10 03:58:05 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-06-10 03:58:05 +0800 |
commit | 80d1e6bf8f7bfff7773b5fff81fa1cad677f8252 (patch) | |
tree | f75339c522d62aa60a1d07a704a029b019925d80 | |
parent | 66dee707ae777c65aa4d732690c8cf14cabca77b (diff) | |
download | freebsd-ports-gnome-80d1e6bf8f7bfff7773b5fff81fa1cad677f8252.tar.gz freebsd-ports-gnome-80d1e6bf8f7bfff7773b5fff81fa1cad677f8252.tar.zst freebsd-ports-gnome-80d1e6bf8f7bfff7773b5fff81fa1cad677f8252.zip |
Add libjsearch, yet another library based on top of x11-toolkits/jx.
PR: 19041
Submitted by: Mario Sergio Fujikawa Ferriera <lioux@uol.com.br>
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/Makefile | 154 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/files/patch-aa | 26 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/files/patch-ab | 17 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/pkg-descr | 8 | ||||
-rw-r--r-- | x11-toolkits/libjsearch/pkg-plist | 21 |
8 files changed, 229 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index aea750da717a..c3a8a6254070 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -21,6 +21,7 @@ SUBDIR += jx SUBDIR += kde-qt-addon SUBDIR += lesstif + SUBDIR += libjsearch SUBDIR += libjtoolbar SUBDIR += libjtree SUBDIR += linux-gtk diff --git a/x11-toolkits/libjsearch/Makefile b/x11-toolkits/libjsearch/Makefile new file mode 100644 index 000000000000..d86814625f58 --- /dev/null +++ b/x11-toolkits/libjsearch/Makefile @@ -0,0 +1,154 @@ +# New ports collection makefile for: libjsearch +# Date created: 04 Jun 2000 +# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al. +# +# $FreeBSD$ +# + +PORTNAME= libjsearch +PORTVERSION= 0.5.6 +CATEGORIES= x11-toolkits +MASTER_SITES= ftp://ftp.newplanetsoftware.com/pub/jx/source-1.5.3/ \ + ftp://ftp.newplanetsoftware.com/pub/jcc/source/ \ + ftp://ftp.newplanetsoftware.com/pub/medic/source/ \ + ftp://ftp.cs.itu.edu.tr/pub/linux/x11/jx/ +DISTNAME= JSearch_source-${PORTVERSION} + +MAINTAINER= lioux@linf.unb.br + +BUILD_DEPENDS= nonexistent:${JXPORT}:patch +LIB_DEPENDS= jx-1_5_3.1:${JXPORT} + +WRKSRC= ${WRKDIR}/JX-1.5.3 + +USE_XLIB= yes +USE_GMAKE= yes +MAKE_ENV= JX_INSTALL_ROOT="${PREFIX}/bin" \ + JX_LIB_ROOT="${PREFIX}/lib" \ + X11PREFIX="${X11PREFIX}" \ + PORTCFLAGS="${CFLAGS}" \ + PORTCXXFLAGS="${CXXFLAGS}" \ + PORTINCLUDES="${PORTINCLUDES}" +PLIST_SUB= PORTNAME="${PORTNAME}" \ + LIBNUMBER="${LIBNUMBER}" \ + LIBVERSION="${LIBVERSION}" \ + EXTRALIBFILES_MAKE_FILES="${EXTRALIBFILES_MAKE_FILES}" \ + INCLUDEDIR="${INCLUDEDIR}" + +# Proper X11R6 Prefix +# Change it, if you need it +X11PREFIX?= ${X11BASE} + +# Make environment +PORTINCLUDES= -I${LOCALBASE}/include/jx -I${LOCALBASE}/share/jx + +# Installs dir with proper permissions +INSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 +# New version number +LIBVERSION= 0_5_6 +# the libraries +LIBFILES= ${PORTNAME}-${LIBVERSION}.a ${PORTNAME}-${LIBVERSION}.so +# header files +INCLUDEDIR= jsearch +# documentation +DOCDIR_PREFIX= ${PREFIX}/share/doc/JX +DOCDIRS= ${PORTNAME} +DOCDIRFILES= LICENSE +# xpm images +ICONDIRS= libjsearch/code +ICONDIR_PREFIX= ${PREFIX}/share/jx/jsearch +# additional configuration and header files +EXTRALIB_PREFIX= ${PREFIX}/lib/jx +EXTRALIBDIRS= lib make +EXTRALIBFILES_MAKE_WRKSRC= include/make +EXTRALIBFILES_MAKE_FILES= jsearch_constants +# main jx distribution port wrksrc +JXPORT= ${PORTSDIR}/x11-toolkits/jx +JXPORT_WRKSRC= ${JXPORT}/work/JX-1.5.3 +# main jx distribution files needed for building +COPY_JXDIRS= include lib libjcore +COPY_JXFILES= Makefile + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 300000 +ALL_TARGET= freebsd3.x +LIBNUMBER= 0 +.else +ALL_TARGET= freebsd2.x +LIBNUMBER= 0.5 +.endif + +.if defined(NOPORTDOCS) +PLIST_SUB+= PORTDOCS:="@comment " +.else +PLIST_SUB+= PORTDOCS:= +.endif # !defined(NOPORTDOCS) + +post-extract: +.for i in ${COPY_JXDIRS} + @${CP} -Rp ${JXPORT_WRKSRC}/${i} ${WRKSRC} +.endfor +.for i in ${COPY_JXFILES} + @${CP} -p ${JXPORT_WRKSRC}/${i} ${WRKSRC} +.endfor + +post-build: + @cd ${WRKSRC}/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} + +do-install: +.if !defined(NOPORTDOCS) +# Install all documentation +.for i in ${DOCDIRS} + @for j in ${DOCDIRFILES} ; \ + do \ + if [ -f ${WRKSRC}/programs/${i}/$${j} ]; \ + then \ + ${INSTALL_DATA} ${WRKSRC}/programs/${i}/$${j} \ + ${DOCDIR_PREFIX}/$${j}_${i} ; \ + elif [ -f ${WRKSRC}/${i}/$${j} ]; \ + then \ + ${INSTALL_DATA} ${WRKSRC}/${i}/$${j} \ + ${DOCDIR_PREFIX}/$${j}_${i} ; \ + fi ; \ + done +.endfor +.endif # !defined(NOPORTDOCS) +# Install all icons +.for i in ${ICONDIRS} + @${INSTALL_DATA_DIR} ${ICONDIR_PREFIX} ; \ + for j in ${WRKSRC}/${i}/*.xpm ; \ + do \ + ${INSTALL_DATA} $${j} ${ICONDIR_PREFIX} ; \ + done +.endfor +# Install all header files +.for i in ${INCLUDEDIR} + @${INSTALL_DATA_DIR} ${PREFIX}/include/${i} ; \ + for j in ${WRKSRC}/include/${i}/*.h ; \ + do \ + ${INSTALL_DATA} $${j} ${PREFIX}/include/${i} ; \ + done +.endfor +# Install all libraries +.for i in ${LIBFILES} + @${INSTALL_PROGRAM} ${WRKSRC}/lib/${i} ${PREFIX}/lib +.endfor +# Install additional library files +.for i in ${EXTRALIBDIRS} + @${INSTALL_DATA_DIR} ${EXTRALIB_PREFIX}/${i} +.endfor +.for i in ${EXTRALIBFILES_MAKE_FILES} + @${INSTALL_DATA} ${WRKSRC}/${EXTRALIBFILES_MAKE_WRKSRC}/${i} \ + ${EXTRALIB_PREFIX}/make/${i} +.endfor + +post-install: + @${LN} -sf ${PORTNAME}-${LIBVERSION}.so \ + ${PREFIX}/lib/${PORTNAME}-${LIBVERSION}.so.${LIBNUMBER} +.for i in ${LIBFILES} + @${LN} -sf ../../${i} ${EXTRALIB_PREFIX}/lib/${i} +.endfor + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/libjsearch/distinfo b/x11-toolkits/libjsearch/distinfo new file mode 100644 index 000000000000..04e2cb166713 --- /dev/null +++ b/x11-toolkits/libjsearch/distinfo @@ -0,0 +1 @@ +MD5 (JSearch_source-0.5.6.tar.gz) = b639b7173fe50dab0d17b88fd1d6a472 diff --git a/x11-toolkits/libjsearch/files/patch-aa b/x11-toolkits/libjsearch/files/patch-aa new file mode 100644 index 000000000000..2ea5a415eb43 --- /dev/null +++ b/x11-toolkits/libjsearch/files/patch-aa @@ -0,0 +1,26 @@ +--- Makefile.orig Tue May 30 13:04:38 2000 ++++ Makefile Tue May 30 13:09:41 2000 +@@ -264,11 +264,6 @@ + include/make/jx_config + @ln -s ../../include/missing_proto/jMissingProto_empty.h \ + include/jcore/jMissingProto.h +- @ln -s config-freebsd.h \ +- ACE/ACE_wrappers/ace/config.h +- @ln -s platform_freebsd.GNU \ +- ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU +- @${INSTALL_CMD} + + .PHONY : freebsd3.x + freebsd3.x: prep +@@ -276,11 +271,6 @@ + include/make/jx_config + @ln -s ../../include/missing_proto/jMissingProto_empty.h \ + include/jcore/jMissingProto.h +- @ln -s config-freebsd-pthread.h \ +- ACE/ACE_wrappers/ace/config.h +- @ln -s platform_freebsd_pthread.GNU \ +- ACE/ACE_wrappers/include/makeinclude/platform_macros.GNU +- @${INSTALL_CMD} + + # + # SunOS 4.x diff --git a/x11-toolkits/libjsearch/files/patch-ab b/x11-toolkits/libjsearch/files/patch-ab new file mode 100644 index 000000000000..c9d599994915 --- /dev/null +++ b/x11-toolkits/libjsearch/files/patch-ab @@ -0,0 +1,17 @@ +--- libjsearch/Make.header.orig Fri Jun 25 17:06:12 1999 ++++ libjsearch/Make.header Sun Jun 4 05:03:01 2000 +@@ -7,11 +7,12 @@ + + # Directories to search for header files + +-SEARCHDIRS := -I- \ ++SEARCHDIRS = -I- \ + -I${JSEARCHDIR} \ + -I${JCOREDIR} \ + -I${MENUIMGDIR} \ +- -I${JXDIR} ++ -I${JXDIR} \ ++ ${J_X11_INCLUDE_DIR} + + # makemake variables + diff --git a/x11-toolkits/libjsearch/pkg-comment b/x11-toolkits/libjsearch/pkg-comment new file mode 100644 index 000000000000..27861fa8b4e3 --- /dev/null +++ b/x11-toolkits/libjsearch/pkg-comment @@ -0,0 +1 @@ +JSearch is an additional library for the JX widget library diff --git a/x11-toolkits/libjsearch/pkg-descr b/x11-toolkits/libjsearch/pkg-descr new file mode 100644 index 000000000000..e5e0b4fd4c7e --- /dev/null +++ b/x11-toolkits/libjsearch/pkg-descr @@ -0,0 +1,8 @@ +JX is a full-featured application framework and widget library for +use with the X Window System. It provides support for all facets +of application development, including distributed applications, +and aims to combine the best of MacOS and NeXTSTEP. It is built +directly on top of Xlib and has been carefully optimized for +performance. + +WWW: http://www.newplanetsoftware.com/jx/ diff --git a/x11-toolkits/libjsearch/pkg-plist b/x11-toolkits/libjsearch/pkg-plist new file mode 100644 index 000000000000..b92fddbe81d5 --- /dev/null +++ b/x11-toolkits/libjsearch/pkg-plist @@ -0,0 +1,21 @@ +include/jsearch/JXRegexHelpText.h +include/jsearch/JXSRDialogUpdateTask.h +include/jsearch/JXSRFullDialog.h +include/jsearch/JXSRTextBase.h +include/jsearch/JXSRTextDialogBase.h +lib/jx/lib/%%PORTNAME%%-%%LIBVERSION%%.a +lib/jx/lib/%%PORTNAME%%-%%LIBVERSION%%.so +lib/jx/make/%%EXTRALIBFILES_MAKE_FILES%% +lib/%%PORTNAME%%-%%LIBVERSION%%.a +lib/%%PORTNAME%%-%%LIBVERSION%%.so +lib/%%PORTNAME%%-%%LIBVERSION%%.so.%%LIBNUMBER%% +%%PORTDOCS:%%share/doc/JX/LICENSE_%%PORTNAME%% +share/jx/jsearch/find.xpm +share/jx/jsearch/findnext.xpm +share/jx/jsearch/findprev.xpm +share/jx/jsearch/replace.xpm +@dirrm share/jx/jsearch +%%PORTDOCS:%%@unexec rmdir %D/share/doc/JX 2>/dev/null || true +@dirrm include/%%INCLUDEDIR%% +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R |