Unbreak after gnutls update.

Prodded by jasper@
This commit is contained in:
ajacoutot 2009-10-13 15:07:45 +00:00
parent 70dea01dfa
commit d10b951aa8
3 changed files with 50 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2009/03/16 21:29:34 sthen Exp $
# $OpenBSD: Makefile,v 1.5 2009/10/13 15:07:45 ajacoutot Exp $
COMMENT= fast FTP and SFTP GUI client with a lot of features
V= 3.0.4
PKGNAME= filezilla-$Vp2
PKGNAME= filezilla-$Vp3
DISTNAME= FileZilla_$V_src
EXTRACT_SUFX= .tar.bz2
@ -35,6 +35,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/filezilla-$V
# XXX check on update whether this is still necessary
post-extract:
${INSTALL} -m 555 ${FILESDIR}/libgnutls-config ${WRKDIR}/bin
do-regress:
@cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check-TESTS

View File

@ -0,0 +1,41 @@
#!/bin/sh
usage()
{
cat <<EOF
Usage: libgnutls-config [OPTIONS]
Options:
[--version]
[--libs]
[--cflags]
EOF
exit $1
}
if test $# -eq 0; then
usage 1 1>&2
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--version)
echo "`pkg-config --modversion gnutls`"
exit 0
;;
--cflags)
echo "`pkg-config --cflags gnutls`"
;;
--libs)
echo "`pkg-config --libs gnutls`"
;;
*)
usage 1 1>&2
;;
esac
shift
done

View File

@ -1,7 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/07 22:01:29 okan Exp $
bin/filezilla
bin/fzsftp
share/applications/
@comment $OpenBSD: PLIST,v 1.2 2009/10/13 15:07:46 ajacoutot Exp $
@bin bin/filezilla
@bin bin/fzsftp
share/applications/filezilla.desktop
share/examples/filezilla/
share/examples/filezilla/fzdefaults.xml.example
@ -182,7 +181,6 @@ share/locale/de/filezilla.mo
share/locale/es/filezilla.mo
share/locale/et_EE/
share/locale/et_EE/filezilla.mo
share/locale/eu/
share/locale/eu/filezilla.mo
share/locale/fi/filezilla.mo
share/locale/fr_CA/