new MULTI_PACKAGES
This commit is contained in:
parent
69ad05d0a7
commit
666a6ebcd6
@ -1,12 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.38 2006/01/08 01:33:16 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.39 2006/11/21 10:07:26 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.6 1998/06/21 02:42:33 jseger Exp $
|
||||
|
||||
COMMENT= "free and portable TrueType font rendering engine"
|
||||
COMMENT-main= "free and portable TrueType font rendering engine"
|
||||
COMMENT-doc= "documentation for FreeType"
|
||||
|
||||
VERSION= 1.3.1
|
||||
DISTNAME= freetype-${VERSION}
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME-main= ${DISTNAME}p3
|
||||
PKGNAME-doc= freetype-doc-${VERSION}
|
||||
|
||||
CATEGORIES= print
|
||||
@ -31,13 +31,10 @@ CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static --disable-nls
|
||||
|
||||
MULTI_PACKAGES= -doc
|
||||
SUBPACKAGE?=
|
||||
MULTI_PACKAGES= -main -doc
|
||||
|
||||
.if defined(PACKAGING) && ${SUBPACKAGE} == "-doc"
|
||||
PKG_ARCH= *
|
||||
WANTLIB=
|
||||
.endif
|
||||
PKG_ARCH-doc= *
|
||||
WANTLIB-doc=
|
||||
|
||||
FT_DOC= ${PREFIX}/share/doc/freetype
|
||||
SFT_DOC= ${WRKSRC}/docs
|
||||
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/23 20:40:21 mbalmer Exp $
|
||||
@lib lib/libttf.so.${LIBttf_VERSION}
|
2
print/freetype/pkg/PFRAG.shared-main
Normal file
2
print/freetype/pkg/PFRAG.shared-main
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/21 10:07:26 espie Exp $
|
||||
@lib lib/libttf.so.${LIBttf_VERSION}
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2004/09/15 18:32:14 espie Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/21 10:07:26 espie Exp $
|
||||
@pkgpath print/freetype
|
||||
include/freetype1/
|
||||
include/freetype1/freetype/
|
||||
include/freetype1/freetype/freetype.h
|
@ -1,12 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2006/10/30 08:28:26 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2006/11/21 10:10:01 espie Exp $
|
||||
|
||||
COMMENT= "PDF rendering library"
|
||||
COMMENT-main= "PDF rendering library"
|
||||
COMMENT-qt= "qt interface to PDF rendering library"
|
||||
|
||||
V= 0.5.3
|
||||
DISTNAME= poppler-$V
|
||||
CATEGORIES= print
|
||||
FULLPKGNAME-qt= poppler-qt-$V
|
||||
PKGNAME-main= poppler-$Vp0
|
||||
FULLPKGNAME-qt= poppler-qt-$Vp0
|
||||
|
||||
SHARED_LIBS += poppler 1.0 # .1.0
|
||||
SHARED_LIBS += poppler-glib 1.0 # .1.0
|
||||
@ -23,9 +24,8 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
PSEUDO_FLAVORS=no_qt
|
||||
MULTI_PACKAGES=-main
|
||||
FLAVOR?=
|
||||
SUBPACKAGE?=
|
||||
|
||||
|
||||
.if empty(FLAVOR:L:Mno_qt)
|
||||
MULTI_PACKAGES+=-qt
|
||||
@ -38,14 +38,23 @@ MAKE_FLAGS= POPPLER_QT_CXXFLAGS='-pthread -I${MODQT_INCDIR}' \
|
||||
qt_subdir=qt \
|
||||
qt_pc_file=poppler-qt.pc
|
||||
|
||||
. if !defined(PACKAGING) || defined(PACKAGING) && ${SUBPACKAGE} == "-qt"
|
||||
MODULES+= x11/qt3
|
||||
. endif
|
||||
. if defined(PACKAGING) && ${SUBPACKAGE} == "-qt"
|
||||
LIB_DEPENDS+= poppler::print/poppler
|
||||
. endif
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
||||
|
||||
WANTLIB= freetype fontconfig jpeg z
|
||||
|
||||
LIB_DEPENDS-qt= ${MODQT_LIB_DEPENDS} poppler::print/poppler
|
||||
|
||||
MODULES+= devel/gettext
|
||||
|
||||
LIB_DEPENDS-main=${MODGETTEXT_LIB_DEPENDS} \
|
||||
gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2
|
||||
WANTLIB-main= ${WANTLIB} Xrender png X11 m Xext glitz \
|
||||
gmodule-2.0 cairo \
|
||||
pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
||||
gobject-2.0 glib-2.0
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --enable-xpdf-headers \
|
||||
@ -58,19 +67,6 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
|
||||
|
||||
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
|
||||
WANTLIB+= freetype fontconfig jpeg z
|
||||
|
||||
.if !defined(PACKAGING) || defined(PACKAGING) && ${SUBPACKAGE} == ""
|
||||
MODULES+= devel/gettext
|
||||
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2
|
||||
WANTLIB+= Xrender png X11 m Xext glitz \
|
||||
gmodule-2.0 cairo \
|
||||
pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
||||
gobject-2.0 glib-2.0
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
||||
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
USE_X11= Yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
|
||||
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/21 10:10:01 espie Exp $
|
||||
@lib lib/libpoppler-glib.so.${LIBpoppler-glib_VERSION}
|
||||
@lib lib/libpoppler.so.${LIBpoppler_VERSION}
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/18 13:09:44 alek Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/21 10:10:01 espie Exp $
|
||||
@pkgpath print/poppler
|
||||
%%SHARED%%
|
||||
include/poppler/
|
||||
include/poppler/Annot.h
|
Loading…
x
Reference in New Issue
Block a user