aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/barry/Makefile
blob: 962e2d04b3e848d9a673de1a981df379b7c977cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    barry
# Date created:             19 September 2002
# Whom:                 Brad Davis <so14k@so14k.com>
#
# $FreeBSD$
#

PORTNAME=   barry
PORTVERSION=    0.7
PORTREVISION=   4
CATEGORIES= ports-mgmt kde
MASTER_SITES=   http://www.student.uni-oldenburg.de/frerich.raabe/barry/ \
        http://freebsd.so14k.com/barry/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A nice KDE frontend to the ports system

BUILD_DEPENDS=  ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/ports-mgmt/portupgrade
RUN_DEPENDS=    ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/ports-mgmt/portupgrade

USE_BZIP2=  yes
USE_KDELIBS_VER=3
USE_AUTOTOOLS=  libtool:15
INSTALLS_ICONS= yes
USE_GETTEXT=    yes

NO_LATEST_LINK= yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

post-patch:
    @${FIND} ${WRKSRC} -name "*.h" -and -not -name "linklocator.h" | \
        ${XARGS} ${REINPLACE_CMD} -e 's/^};/}/g'
    @${REINPLACE_CMD} "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure

pre-install:
    @${MKDIR} ${PREFIX}/share/applnk/Utilities

.include <bsd.port.post.mk>