summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-17 03:25:28 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-17 03:25:28 +0000
commit030759dfc9aba41e54eb8cea172edf51af71d7f7 (patch)
tree769a30c15b38c5eb40d1e652c6dfca68d687018b /x11-toolkits
parentOops, ruby-socketproxy is actually a very old uncompleted repo-copy of (diff)
add p5-qt 3.008
A set of Perl bindings for the Qt toolkit
Notes
Notes: svn path=/head/; revision=104244
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/p5-qt/Makefile56
-rw-r--r--x11-toolkits/p5-qt/distinfo2
-rw-r--r--x11-toolkits/p5-qt/files/patch-ltmain.sh15
-rw-r--r--x11-toolkits/p5-qt/pkg-descr3
5 files changed, 77 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 536c90beaf42..2975cb3863f7 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -145,6 +145,7 @@
SUBDIR += p5-Tk-Getopt
SUBDIR += p5-Tk-HistEntry
SUBDIR += p5-Tk-TableMatrix
+ SUBDIR += p5-qt
SUBDIR += pango
SUBDIR += paragui
SUBDIR += php-gtk
diff --git a/x11-toolkits/p5-qt/Makefile b/x11-toolkits/p5-qt/Makefile
new file mode 100644
index 000000000000..5f2ae3164375
--- /dev/null
+++ b/x11-toolkits/p5-qt/Makefile
@@ -0,0 +1,56 @@
+# ex:ts=8
+# Ports collection makefile for: p5-qt
+# Date created: Mar 17, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= qt
+PORTVERSION= 3.008
+CATEGORIES= x11-toolkits perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:sf/}
+MASTER_SITE_SUBDIR= Qt/:cpan \
+ perlqt/:sf
+PKGNAMEPREFIX= p5-
+DISTNAME= PerlQt-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:cpan \
+ ${DISTNAME}${EXTRACT_SUFX}:sf
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A set of Perl bindings for the Qt toolkit
+
+USE_GL= yes
+USE_QT_VER= 3
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+PLIST_FILES= bin/pqtapi bin/pqtsh bin/puic include/smoke.h \
+ lib/libsmokeqt.so lib/libsmokeqt.so.3
+
+MAN1= puic.1
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Qt.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "This port needs Perl 5.6.0 or greater, please upgrade your Perl!"
+.endif
+
+post-install:
+ @${FIND} ${PREFIX}/share/PerlQt-3 -type f | \
+ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/share/PerlQt-3 -type d | ${SORT} -r | \
+ ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+ @${FIND} ${SITE_PERL}/${PERL_ARCH}/Qt* -type f | \
+ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
+ @${FIND} ${SITE_PERL}/${PERL_ARCH}/Qt* -type d | ${SORT} -r | \
+ ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+ @${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/Qt -type f | \
+ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
+ @${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/Qt -type d | ${SORT} -r | \
+ ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/p5-qt/distinfo b/x11-toolkits/p5-qt/distinfo
new file mode 100644
index 000000000000..740a4244d501
--- /dev/null
+++ b/x11-toolkits/p5-qt/distinfo
@@ -0,0 +1,2 @@
+MD5 (PerlQt-3.008.tar.gz) = a0cdc0c86b3e79c56f09f2af8c4c2c39
+SIZE (PerlQt-3.008.tar.gz) = 922164
diff --git a/x11-toolkits/p5-qt/files/patch-ltmain.sh b/x11-toolkits/p5-qt/files/patch-ltmain.sh
new file mode 100644
index 000000000000..fafd763de12c
--- /dev/null
+++ b/x11-toolkits/p5-qt/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- admin/ltmain.sh.orig Wed Mar 17 11:03:30 2004
++++ admin/ltmain.sh Wed Mar 17 11:03:42 2004
+@@ -4754,10 +4754,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/x11-toolkits/p5-qt/pkg-descr b/x11-toolkits/p5-qt/pkg-descr
new file mode 100644
index 000000000000..20c00d1de437
--- /dev/null
+++ b/x11-toolkits/p5-qt/pkg-descr
@@ -0,0 +1,3 @@
+A set of Perl bindings for the Qt toolkit.
+
+WWW: http://perlqt.sourceforge.net/