2002-03-13 18:36:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2002/03/13 17:37:06 fredb Exp $
|
1998-11-04 08:54:48 +01:00
|
|
|
|
1999-10-28 02:27:38 +02:00
|
|
|
DISTNAME= fnlib-0.5
|
2002-03-13 18:36:35 +01:00
|
|
|
PKGREVISION= 1
|
1998-11-04 08:54:48 +01:00
|
|
|
CATEGORIES= x11 graphics
|
1999-10-28 02:27:38 +02:00
|
|
|
MASTER_SITES= ftp://ftp.enlightenment.org/pub/e/enlightenment/libs/
|
1998-11-04 08:54:48 +01:00
|
|
|
|
|
|
|
MAINTAINER= root@garbled.net
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= color font rendering library for X11R6
|
1998-11-04 08:54:48 +01:00
|
|
|
|
2001-07-03 18:30:19 +02:00
|
|
|
USE_BUILDLINK_ONLY= YES
|
2000-06-21 03:02:10 +02:00
|
|
|
USE_X11BASE= # defined
|
|
|
|
GNU_CONFIGURE= # defined
|
|
|
|
|
|
|
|
USE_LIBTOOL= # defined
|
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
1999-10-28 02:27:38 +02:00
|
|
|
|
2001-08-30 00:41:00 +02:00
|
|
|
# Remove -I$(includedir) from the INCLUDES passed to the compiler as this
|
|
|
|
# defeats buildlink.
|
|
|
|
#
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
files=`${FIND} . -name "Makefile.in" -print`; \
|
|
|
|
for file in $${files}; do \
|
|
|
|
${MV} -f $${file} $${file}.fixme; \
|
|
|
|
${SED} -e "/^INCLUDES.*=.*/s|[ ]*-I\$$(includedir)||" \
|
|
|
|
$${file}.fixme > $${file}; \
|
|
|
|
${RM} $${file}.fixme; \
|
|
|
|
done
|
|
|
|
|
1999-10-28 02:27:38 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fnlib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/fontinfo.README ${PREFIX}/share/doc/fnlib
|
1998-11-04 08:54:48 +01:00
|
|
|
|
2001-10-23 15:14:43 +02:00
|
|
|
.include "../../graphics/imlib/buildlink.mk"
|
2001-10-25 00:10:43 +02:00
|
|
|
.include "../../mk/x11.buildlink.mk"
|
1998-11-04 08:54:48 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|