mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
43 lines
925 B
Makefile
43 lines
925 B
Makefile
# 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
|
|
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>
|