openbsd-ports/print/fontforge/Makefile

71 lines
1.7 KiB
Makefile
Raw Normal View History

2011-09-16 07:13:37 -04:00
# $OpenBSD: Makefile,v 1.31 2011/09/16 11:13:41 espie Exp $
SHARED_ONLY= Yes
COMMENT= vector font editor/converter
DISTNAME= fontforge_full-20110222
PKGNAME= ${DISTNAME:S,_full,,}
2011-09-16 07:13:37 -04:00
REVISION= 0
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= fontforge 4.0 \
gdraw 5.1 \
gioftp 2.1 \
gunicode 5.1 \
gutils 2.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/}
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xft Xi Xrender c cairo \
2010-10-11 04:11:24 -04:00
expat fontconfig freetype gif glib-2.0 \
gmodule-2.0 gobject-2.0 gthread-2.0 jpeg m pcre \
pango-1.0 pangocairo-1.0 pangoft2-1.0 pangoxft-1.0 \
pixman-1 png pthread pthread-stubs tiff util xcb \
xcb-render xkbfile xkbui xml2 z GL Xdamage \
Xfixes Xxf86vm drm xcb-shm ${MODPY_WANTLIB}
2009-04-22 08:23:00 -04:00
MODULES= devel/gettext lang/python
LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
2010-11-20 04:48:38 -05:00
graphics/cairo \
graphics/jpeg \
devel/pango \
graphics/png \
graphics/tiff \
graphics/libungif \
textproc/libxml
WRKDIST= ${WRKDIR}/${DISTNAME:S,_full,,}
CONFIGURE_STYLE= gnu
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
2010-11-20 04:48:38 -05:00
USE_GROFF = Yes
NO_REGRESS= Yes
post-extract:
find ${WRKSRC} -name \*.orig -o -name \*.rej | xargs rm
.include <bsd.port.mk>