aboutsummaryrefslogtreecommitdiff
path: root/www/bk_edit/Makefile
blob: 8423f2717ee8d86d21d5718011086555de24a28d (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
# 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=	1
CATEGORIES=	www
MASTER_SITES=	http://www.allesdurcheinander.de/nettools/bk_edit/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Bookmark Editor

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

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.mk>