openbsd-ports/graphics/fnlib/Makefile
2007-11-13 17:10:25 +00:00

35 lines
896 B
Makefile

# $OpenBSD: Makefile,v 1.30 2007/11/13 17:10:25 steven Exp $
COMMENT= color font rendering library for X
DISTNAME= fnlib-0.5
PKGNAME= ${DISTNAME}p1
SHARED_LIBS= Fnlib 5.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
LIB_DEPENDS= Imlib.>=19::graphics/imlib
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xau Xdmcp Xext jpeg m png tiff ungif z
USE_X11= Yes
USE_LIBTOOL= Yes
USE_GMAKE= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fnlib
mv -f ${WRKINST}${SYSCONFDIR}/* ${PREFIX}/share/examples/fnlib
.include <bsd.port.mk>