56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2007/10/12 16:52:56 kili Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= vector font editor/converter
|
|
|
|
DISTNAME= fontforge_full-20070915
|
|
PKGNAME= ${DISTNAME:S,_full,,}p0
|
|
EXTRACT_SUFX= .tar.bz2
|
|
SHARED_LIBS= gdraw 2.0 \
|
|
gunicode 3.0
|
|
CATEGORIES= print
|
|
|
|
HOMEPAGE= http://fontforge.sourceforge.net/
|
|
|
|
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
|
|
|
# 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 Xi c freetype m \
|
|
pthread xkbfile xkbui z
|
|
|
|
MODULES= devel/gettext lang/python
|
|
|
|
LIB_DEPENDS= png.>=5::graphics/png \
|
|
tiff.>=38::graphics/tiff \
|
|
ungif.>=5::graphics/libungif \
|
|
jpeg.>=62::graphics/jpeg \
|
|
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= --with-regular-link --without-freetype-src
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_X11= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-extract:
|
|
find ${WRKSRC} -name \*.orig -o -name \*.rej | xargs rm
|
|
|
|
.include <bsd.port.mk>
|