diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-12-10 18:03:32 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-12-10 18:03:32 +0800 |
commit | cbdc4761ceb7bbfccfdb9e9c32452b6b2d5d2a3d (patch) | |
tree | b6e92b5175e865d48ea3407692e165d6ad0ac659 /misc | |
parent | 1b7c15a637a1951448af147ee20cfb1631b755fc (diff) | |
download | freebsd-ports-gnome-cbdc4761ceb7bbfccfdb9e9c32452b6b2d5d2a3d.tar.gz freebsd-ports-gnome-cbdc4761ceb7bbfccfdb9e9c32452b6b2d5d2a3d.tar.zst freebsd-ports-gnome-cbdc4761ceb7bbfccfdb9e9c32452b6b2d5d2a3d.zip |
Add libelysium 0.2.6, a library of utility functions used by
several Elysium (yet another GNU/Linux distro) projects.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/libelysium/Makefile | 28 | ||||
-rw-r--r-- | misc/libelysium/distinfo | 1 | ||||
-rw-r--r-- | misc/libelysium/files/patch-Makefile.in | 14 | ||||
-rw-r--r-- | misc/libelysium/files/patch-configure | 25 | ||||
-rw-r--r-- | misc/libelysium/files/patch-ltmain.sh | 28 | ||||
-rw-r--r-- | misc/libelysium/pkg-comment | 1 | ||||
-rw-r--r-- | misc/libelysium/pkg-descr | 3 | ||||
-rw-r--r-- | misc/libelysium/pkg-plist | 7 |
9 files changed, 108 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 6b9035a376da..eed1feee7c59 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -110,6 +110,7 @@ SUBDIR += kwatch SUBDIR += lc SUBDIR += less + SUBDIR += libelysium SUBDIR += libh SUBDIR += libmcal SUBDIR += lifelines diff --git a/misc/libelysium/Makefile b/misc/libelysium/Makefile new file mode 100644 index 000000000000..06bc27ba6401 --- /dev/null +++ b/misc/libelysium/Makefile @@ -0,0 +1,28 @@ +# Ports collection Makefile for: libelysium +# Date created: 10 December 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libelysium +PORTVERSION= 0.2.6 +CATEGORIES= misc gnome +MASTER_SITES= http://elysium.zoned.net/${PORTNAME}/ + +MAINTAINER= sobomax@FreeBSD.org + +USE_GLIB= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + +.include <bsd.port.mk> diff --git a/misc/libelysium/distinfo b/misc/libelysium/distinfo new file mode 100644 index 000000000000..a9dc76ba23c1 --- /dev/null +++ b/misc/libelysium/distinfo @@ -0,0 +1 @@ +MD5 (libelysium-0.2.6.tar.gz) = 388c2c543d3746499254053c62efe512 diff --git a/misc/libelysium/files/patch-Makefile.in b/misc/libelysium/files/patch-Makefile.in new file mode 100644 index 000000000000..c4d542a1e489 --- /dev/null +++ b/misc/libelysium/files/patch-Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Makefile.in 2001/12/10 09:35:00 1.1 ++++ Makefile.in 2001/12/10 09:35:18 +@@ -85,7 +85,7 @@ + EXTRA_DIST = libelysium.spec.in libelysiumConf.sh.in + + +-confexecdir = $(libdir) ++confexecdir = $(sysconfdir) + confexec_DATA = libelysiumConf.sh + + CLEANFILES = libelysiumConf.sh diff --git a/misc/libelysium/files/patch-configure b/misc/libelysium/files/patch-configure new file mode 100644 index 000000000000..27791c093d59 --- /dev/null +++ b/misc/libelysium/files/patch-configure @@ -0,0 +1,25 @@ + +$FreeBSD$ + +--- configure.orig Mon Dec 10 11:37:09 2001 ++++ configure Mon Dec 10 11:53:37 2001 +@@ -952,7 +952,7 @@ + + ELYSIUM_LIBDIR='-L${libdir}' + ELYSIUM_INCLUDEDIR='-I${includedir}' +-ELYSIUM_LIBS="-lelysium -lglib" ++ELYSIUM_LIBS="-lelysium `$GLIB_CONFIG --libs`" + + echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 + echo "configure:959: checking whether to enable maintainer-specific portions of Makefiles" >&5 +@@ -5462,8 +5462,8 @@ + + + +-CFLAGS="`glib-config --cflags`" +-LDFLAGS="`glib-config --libs`" ++CFLAGS="`$GLIB_CONFIG --cflags`" ++LDFLAGS="`$GLIB_CONFIG --libs`" + + + diff --git a/misc/libelysium/files/patch-ltmain.sh b/misc/libelysium/files/patch-ltmain.sh new file mode 100644 index 000000000000..98cb05e4ddb3 --- /dev/null +++ b/misc/libelysium/files/patch-ltmain.sh @@ -0,0 +1,28 @@ + +$FreeBSD$ + +--- ltmain.sh 2001/08/27 09:51:26 1.1 ++++ ltmain.sh 2001/08/27 09:51:42 +@@ -2408,6 +2408,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4175,10 +4178,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/misc/libelysium/pkg-comment b/misc/libelysium/pkg-comment new file mode 100644 index 000000000000..963dd42c8ab5 --- /dev/null +++ b/misc/libelysium/pkg-comment @@ -0,0 +1 @@ +A library of utility functions used by several Elysium projects diff --git a/misc/libelysium/pkg-descr b/misc/libelysium/pkg-descr new file mode 100644 index 000000000000..5a918bf93c45 --- /dev/null +++ b/misc/libelysium/pkg-descr @@ -0,0 +1,3 @@ +LibElysium is a library of utility functions used by several Elysium projects. + +WWW: http://elysium.zoned.net/libelysium/index.html diff --git a/misc/libelysium/pkg-plist b/misc/libelysium/pkg-plist new file mode 100644 index 000000000000..2a3484900389 --- /dev/null +++ b/misc/libelysium/pkg-plist @@ -0,0 +1,7 @@ +etc/libelysiumConf.sh +include/libelysium/elysium-file.h +include/libelysium/encompass-uri.h +lib/libelysium.a +lib/libelysium.so +lib/libelysium.so.0 +@dirrm include/libelysium |