freebsd-ports/www/bk_edit/Makefile

43 lines
925 B
Makefile
Raw Normal View History

2003-12-26 07:18:14 +01:00
# 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= 5
2003-12-26 07:18:14 +01:00
CATEGORIES= www
2005-07-10 20:48:28 +02:00
MASTER_SITES= http://www.allesdurcheinander.de/nettools/bk_edit/
2003-12-26 07:18:14 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Bookmark Editor
USE_GNOME= gtk12 libxml2
USE_BISON= build
2003-12-26 07:18:14 +01:00
HAS_CONFIGURE= yes
MAKE_ENV= LD="${CC}" LDFLAGS="${LDFLAGS}"
2007-05-26 01:05:08 +02:00
.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
2003-12-26 07:18:14 +01:00
2007-05-26 01:05:08 +02:00
.include <bsd.port.post.mk>