openbsd-ports/print/fontforge/Makefile

69 lines
1.8 KiB
Makefile
Raw Normal View History

2009-04-22 08:23:00 -04:00
# $OpenBSD: Makefile,v 1.14 2009/04/22 12:23:00 kili Exp $
SHARED_ONLY= Yes
COMMENT= vector font editor/converter
2009-04-22 08:23:00 -04:00
DISTNAME= fontforge_full-20090408
PKGNAME= ${DISTNAME:S,_full,,}
EXTRACT_SUFX= .tar.bz2
2009-04-22 08:23:00 -04:00
SHARED_LIBS= fontforge 2.0 \
gdraw 4.0 \
2008-10-27 13:58:52 -04:00
gioftp 1.0 \
2009-04-22 08:23:00 -04:00
gunicode 4.1 \
gutils 1.1
2008-10-27 13:58:52 -04:00
CATEGORIES= print
HOMEPAGE= http://fontforge.sourceforge.net/
MAINTAINER= Matthias Kilian <kili@openbsd.org>
2006-07-21 12:42:40 -04:00
# BSD
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fontforge/}
2009-04-22 08:23:00 -04:00
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xft Xi Xrender c \
expat fontconfig freetype glib-2.0 glitz \
gmodule-2.0 gobject-2.0 m pcre pixman-1 \
pthread util xkbfile xkbui z
MODULES= devel/gettext lang/python
MODPY_VERSION= 2.5
2009-04-22 08:23:00 -04:00
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
cairo.>=9::graphics/cairo \
jpeg.>=62::graphics/jpeg \
pango-1.0.>=1800,pangocairo-1.0.>=1800,pangoft2-1.0.>=1800,pangoxft-1.0.>=1800::devel/pango \
png.>=5::graphics/png \
tiff.>=38::graphics/tiff \
2006-08-03 19:28:11 -04:00
ungif.>=5::graphics/libungif \
2009-04-22 08:23:00 -04:00
xml2.>=9::textproc/libxml
WRKDIST= ${WRKDIR}/${DISTNAME:S,_full,,}
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE= gnu autoconf no-autoheader
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib \
-lintl -liconv -lz"
CONFIGURE_ARGS= --without-freetype-src \
--with-python=${MODPY_BIN} \
--with-python-lib="$$(python${MODPY_VERSION}-config --libs)" \
--with-regular-link
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2006-11-11 09:09:04 -05:00
USE_X11= Yes
NO_REGRESS= Yes
post-extract:
find ${WRKSRC} -name \*.orig -o -name \*.rej | xargs rm
.include <bsd.port.mk>