2013-03-25 20:14:43 +01:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2001-09-03 18:54:28 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gdkxft
|
2002-02-02 05:53:50 +01:00
|
|
|
PORTVERSION= 1.5
|
2014-09-13 17:11:27 +02:00
|
|
|
PORTREVISION= 9
|
2001-09-03 18:54:28 +02:00
|
|
|
CATEGORIES= x11
|
2009-08-22 02:39:37 +02:00
|
|
|
MASTER_SITES= SF
|
2001-09-03 18:54:28 +02:00
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-13 04:01:16 +02:00
|
|
|
COMMENT= Anti-aliased font support for gtk+
|
2002-02-02 05:53:50 +01:00
|
|
|
|
2013-10-13 04:01:16 +02:00
|
|
|
LIB_DEPENDS= libXft.so:${PORTSDIR}/x11-fonts/libXft
|
2001-09-03 18:54:28 +02:00
|
|
|
|
2002-09-09 06:33:16 +02:00
|
|
|
USE_GNOME= gtk12
|
2014-06-03 01:33:40 +02:00
|
|
|
USES= iconv pkgconfig libtool
|
2001-12-30 13:10:03 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-04 20:06:07 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex ${ICONV_LIB}
|
2011-09-24 00:26:39 +02:00
|
|
|
CFLAGS+= `pkg-config xft --cflags`
|
2011-01-04 04:32:21 +01:00
|
|
|
CONFIGURE_ARGS= --sbindir=${PREFIX}/bin \
|
|
|
|
--without-gnome
|
2014-09-15 12:28:40 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2006-08-15 03:11:33 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-12-30 13:10:03 +01:00
|
|
|
|
2014-02-21 14:40:06 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2001-12-30 13:10:03 +01:00
|
|
|
post-patch:
|
2002-09-29 10:07:47 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|src capplet|src @BUILD_CAPPLET_TRUE@capplet|g ; \
|
|
|
|
s|DESTDIR)\$$(datadir|DESTDIR)\$$(pkgdatadir|g ; \
|
2001-12-30 13:10:03 +01:00
|
|
|
s|la_LDFLAGS =.*$$|la_LDFLAGS = -module -avoid-version|g'
|
2014-09-15 12:28:40 +02:00
|
|
|
@${REINPLACE_CMD} 's/<regex\.h>/<gnuregex.h>/' ${WRKSRC}/src/gdkxft.c
|
2001-12-30 13:10:03 +01:00
|
|
|
|
2001-09-03 18:54:28 +02:00
|
|
|
post-install:
|
2014-01-10 10:32:14 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2001-09-03 18:54:28 +02:00
|
|
|
|
2011-01-04 04:32:21 +01:00
|
|
|
.include <bsd.port.mk>
|