freebsd-ports/ftp/kbear/Makefile
Markus Brueffer 63fa38ff59 - Fix build with gcc 3.4
- Fix build on amd64
- Move patches to external site

Noticed by:	pointyhat
2004-08-19 11:49:41 +00:00

35 lines
907 B
Makefile

# New ports collection makefile for: kbear
# Date created: Wed May 29 18:10:01 PDT 2002
# Whom: Tilman Linneweh <arved@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= kbear
PORTVERSION= 3.0.a.1
PORTREVISION= 2
CATEGORIES= ftp kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a.1/alpha1b/}-1.src
PATCH_SITES= http://www.brueffer.de/distfiles/
PATCHFILES= ${DISTNAME:S/.src/-patch/}.gz
MAINTAINER= markus@FreeBSD.org
COMMENT= A graphical FTP client for KDE
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.a.1/alpha1b/}
INSTALLS_SHLIB= yes
USE_KDELIBS_VER= 3
USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= XML2POT=${TRUE} PO2XML=${TRUE} LDFLAGS="${PTHREAD_LIBS}"
post-patch:
@${REINPLACE_CMD} -e 's|-O2|-fPIC|g; s|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
.include <bsd.port.mk>