aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-15 23:33:19 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-15 23:33:19 +0000
commita77d9933867100b0e7991676a55111583508da81 (patch)
tree1671f45a511afa8a6a315497924f2c1af5b0202e /sysutils
parent3d13efd3564594c752e7631cc6aed802e4270414 (diff)
downloadports-a77d9933867100b0e7991676a55111583508da81.tar.gz
ports-a77d9933867100b0e7991676a55111583508da81.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/lineak-defaultplugin/Makefile43
-rw-r--r--sysutils/lineak-defaultplugin/distinfo2
-rw-r--r--sysutils/lineak-defaultplugin/files/extra-patch-ltmain.sh15
-rw-r--r--sysutils/lineak-defaultplugin/files/patch-configure11
-rw-r--r--sysutils/lineak-defaultplugin/pkg-descr7
-rw-r--r--sysutils/lineak-defaultplugin/pkg-plist3
-rw-r--r--sysutils/lineak_defaultplugin/Makefile43
-rw-r--r--sysutils/lineak_defaultplugin/distinfo2
-rw-r--r--sysutils/lineak_defaultplugin/files/extra-patch-ltmain.sh15
-rw-r--r--sysutils/lineak_defaultplugin/files/patch-configure11
-rw-r--r--sysutils/lineak_defaultplugin/pkg-descr7
-rw-r--r--sysutils/lineak_defaultplugin/pkg-plist3
13 files changed, 163 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 59eebf602893..a8f7a0691d3a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -228,6 +228,7 @@
SUBDIR += libgksuui
SUBDIR += libretto-config
SUBDIR += libutempter
+ SUBDIR += lineak_defaultplugin
SUBDIR += lineakd
SUBDIR += linneighborhood
SUBDIR += linux-acu
diff --git a/sysutils/lineak-defaultplugin/Makefile b/sysutils/lineak-defaultplugin/Makefile
new file mode 100644
index 000000000000..91229c7fcfc4
--- /dev/null
+++ b/sysutils/lineak-defaultplugin/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: lineak_defaultplugin
+# Date created: 2004-12-29
+# Whom: Kay Lehmann <kay_lehmann@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lineak_defaultplugin
+PORTVERSION= 0.8.2
+CATEGORIES= sysutils deskutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lineak
+DIST_SUBDIR= lineak
+
+MAINTAINER= kay_lehmann@web.de
+COMMENT= Default plugins for lineakd
+
+LIB_DEPENDS= lineak.8:${PORTSDIR}/sysutils/lineakd
+
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS+= --program-prefix=''
+USE_REINPLACE= yes
+
+MAN1= lineak_defaultplugin.1
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+# lineakd is compiled with 3.4 on FreeBSD 4.x, so plugins must be too
+USE_GCC= 3.4
+GNU_CONFIGURE= yes
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-ltmain.sh
+.else
+USE_LIBTOOL_VER=15
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/lineak-defaultplugin/distinfo b/sysutils/lineak-defaultplugin/distinfo
new file mode 100644
index 000000000000..58fe61c2f082
--- /dev/null
+++ b/sysutils/lineak-defaultplugin/distinfo
@@ -0,0 +1,2 @@
+MD5 (lineak/lineak_defaultplugin-0.8.2.tar.gz) = 377588e882739cdaa7135a2151ac94a3
+SIZE (lineak/lineak_defaultplugin-0.8.2.tar.gz) = 730901
diff --git a/sysutils/lineak-defaultplugin/files/extra-patch-ltmain.sh b/sysutils/lineak-defaultplugin/files/extra-patch-ltmain.sh
new file mode 100644
index 000000000000..7c1686005ce3
--- /dev/null
+++ b/sysutils/lineak-defaultplugin/files/extra-patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- admin/ltmain.sh.orig Fri Mar 19 14:14:27 2004
++++ admin/ltmain.sh Fri Mar 19 14:14:40 2004
+@@ -5425,10 +5425,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/sysutils/lineak-defaultplugin/files/patch-configure b/sysutils/lineak-defaultplugin/files/patch-configure
new file mode 100644
index 000000000000..60277954381c
--- /dev/null
+++ b/sysutils/lineak-defaultplugin/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Dec 29 19:12:29 2004
++++ configure Wed Dec 29 19:15:51 2004
+@@ -21305,7 +21305,7 @@
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+
+- LDFLAGS="$all_libraries -L${x_libraries} $X_LDFLAGS -lX11 -lXext -ldl"
++ LDFLAGS="$LDFLAGS $all_libraries -L${x_libraries} $X_LDFLAGS -lX11 -lXext -ldl"
+ CPPFLAGS="$all_includes -I${x_includes} ${CPPFLAGS} "
+ echo "$as_me:$LINENO: checking for ac_check_lineak in -llineak" >&5
+ echo $ECHO_N "checking for ac_check_lineak in -llineak... $ECHO_C" >&6
diff --git a/sysutils/lineak-defaultplugin/pkg-descr b/sysutils/lineak-defaultplugin/pkg-descr
new file mode 100644
index 000000000000..fb488b66c50b
--- /dev/null
+++ b/sysutils/lineak-defaultplugin/pkg-descr
@@ -0,0 +1,7 @@
+Default plugins for lineakd. Mainly contains some macros
+(e.g. for volumedecrease etc.). mediadetect plugin is not
+functional at the moment since there is some more work to
+do (we need a new port for it).
+
+Author: Kay Lehmann <kay_lehmann@web.de>
+WWW: http://lineak.sf.net/
diff --git a/sysutils/lineak-defaultplugin/pkg-plist b/sysutils/lineak-defaultplugin/pkg-plist
new file mode 100644
index 000000000000..4549312e8ee2
--- /dev/null
+++ b/sysutils/lineak-defaultplugin/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+lib/lineakd/plugins/defaultplugin.so
+lib/lineakd/plugins/mediadetectplugin.so
diff --git a/sysutils/lineak_defaultplugin/Makefile b/sysutils/lineak_defaultplugin/Makefile
new file mode 100644
index 000000000000..91229c7fcfc4
--- /dev/null
+++ b/sysutils/lineak_defaultplugin/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: lineak_defaultplugin
+# Date created: 2004-12-29
+# Whom: Kay Lehmann <kay_lehmann@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lineak_defaultplugin
+PORTVERSION= 0.8.2
+CATEGORIES= sysutils deskutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= lineak
+DIST_SUBDIR= lineak
+
+MAINTAINER= kay_lehmann@web.de
+COMMENT= Default plugins for lineakd
+
+LIB_DEPENDS= lineak.8:${PORTSDIR}/sysutils/lineakd
+
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+CONFIGURE_ARGS+= --program-prefix=''
+USE_REINPLACE= yes
+
+MAN1= lineak_defaultplugin.1
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+# lineakd is compiled with 3.4 on FreeBSD 4.x, so plugins must be too
+USE_GCC= 3.4
+GNU_CONFIGURE= yes
+EXTRA_PATCHES= ${FILESDIR}/extra-patch-ltmain.sh
+.else
+USE_LIBTOOL_VER=15
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/lineak_defaultplugin/distinfo b/sysutils/lineak_defaultplugin/distinfo
new file mode 100644
index 000000000000..58fe61c2f082
--- /dev/null
+++ b/sysutils/lineak_defaultplugin/distinfo
@@ -0,0 +1,2 @@
+MD5 (lineak/lineak_defaultplugin-0.8.2.tar.gz) = 377588e882739cdaa7135a2151ac94a3
+SIZE (lineak/lineak_defaultplugin-0.8.2.tar.gz) = 730901
diff --git a/sysutils/lineak_defaultplugin/files/extra-patch-ltmain.sh b/sysutils/lineak_defaultplugin/files/extra-patch-ltmain.sh
new file mode 100644
index 000000000000..7c1686005ce3
--- /dev/null
+++ b/sysutils/lineak_defaultplugin/files/extra-patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- admin/ltmain.sh.orig Fri Mar 19 14:14:27 2004
++++ admin/ltmain.sh Fri Mar 19 14:14:40 2004
+@@ -5425,10 +5425,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/sysutils/lineak_defaultplugin/files/patch-configure b/sysutils/lineak_defaultplugin/files/patch-configure
new file mode 100644
index 000000000000..60277954381c
--- /dev/null
+++ b/sysutils/lineak_defaultplugin/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Dec 29 19:12:29 2004
++++ configure Wed Dec 29 19:15:51 2004
+@@ -21305,7 +21305,7 @@
+ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
+ fi
+
+- LDFLAGS="$all_libraries -L${x_libraries} $X_LDFLAGS -lX11 -lXext -ldl"
++ LDFLAGS="$LDFLAGS $all_libraries -L${x_libraries} $X_LDFLAGS -lX11 -lXext -ldl"
+ CPPFLAGS="$all_includes -I${x_includes} ${CPPFLAGS} "
+ echo "$as_me:$LINENO: checking for ac_check_lineak in -llineak" >&5
+ echo $ECHO_N "checking for ac_check_lineak in -llineak... $ECHO_C" >&6
diff --git a/sysutils/lineak_defaultplugin/pkg-descr b/sysutils/lineak_defaultplugin/pkg-descr
new file mode 100644
index 000000000000..fb488b66c50b
--- /dev/null
+++ b/sysutils/lineak_defaultplugin/pkg-descr
@@ -0,0 +1,7 @@
+Default plugins for lineakd. Mainly contains some macros
+(e.g. for volumedecrease etc.). mediadetect plugin is not
+functional at the moment since there is some more work to
+do (we need a new port for it).
+
+Author: Kay Lehmann <kay_lehmann@web.de>
+WWW: http://lineak.sf.net/
diff --git a/sysutils/lineak_defaultplugin/pkg-plist b/sysutils/lineak_defaultplugin/pkg-plist
new file mode 100644
index 000000000000..4549312e8ee2
--- /dev/null
+++ b/sysutils/lineak_defaultplugin/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+lib/lineakd/plugins/defaultplugin.so
+lib/lineakd/plugins/mediadetectplugin.so