aboutsummaryrefslogtreecommitdiffstats
path: root/www/bk_edit/Makefile
blob: 29a1b4b3c12ed7a622844271fdb831d64b203e47 (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
# ex:ts=8
# Ports collection makefile for:    bk_edit
# Date created:         Dec 26, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   bk_edit
PORTVERSION=    0.6.23
PORTREVISION=   4
CATEGORIES= www
MASTER_SITES=   http://www.allesdurcheinander.de/nettools/bk_edit/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Bookmark Editor

USE_GNOME=  gtk12 libxml2
USE_BISON=  build
HAS_CONFIGURE=  yes
MAKE_ENV=   LD="${CC}" LDFLAGS="${LDFLAGS}"

.include <bsd.port.pre.mk>

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

post-patch:
    @${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
        's|^CC .*=|CC ?=|g ; \
         s|^LD .*=|LD ?=|g ; \
         s|^CFLAGS .*=|CFLAGS +=|g ; \
         s|^LDFLAGS .*=|LDFLAGS +=|g ; \
         s| make| $$(MAKE)|g'

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/bkedit ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/lib/bkedit
    ${INSTALL_DATA} ${WRKSRC}/src/plugins/*.so ${PREFIX}/lib/bkedit

.include <bsd.port.post.mk>