new MULTI_PACKAGES

This commit is contained in:
espie 2006-11-21 10:32:38 +00:00
parent 07fab80e09
commit 1dafed5779
4 changed files with 13 additions and 19 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2006/11/11 21:04:27 steven Exp $ # $OpenBSD: Makefile,v 1.7 2006/11/21 10:32:38 espie Exp $
COMMENT= "read microsoft Access MDB" COMMENT-main= "read microsoft Access MDB"
COMMENT-gmdb= "graphical interface to MDB tools" COMMENT-gmdb= "graphical interface to MDB tools"
DATE= 20060425 DATE= 20060425
DISTNAME= mdbtools-${DATE} DISTNAME= mdbtools-${DATE}
PKGNAME-main= mdbtools-${DATE}p0
PKGNAME-gmdb= gmdb-${DATE}p0 PKGNAME-gmdb= gmdb-${DATE}p0
HOMEPAGE= http://mdbtools.sourceforge.net/ HOMEPAGE= http://mdbtools.sourceforge.net/
@ -11,9 +12,7 @@ CATEGORIES= databases converters
MASTER_SITES= ftp://quatramaran.ens.fr/pub/espie/ MASTER_SITES= ftp://quatramaran.ens.fr/pub/espie/
#MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=mdbtools/} #MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=mdbtools/}
MULTI_PACKAGES= -gmdb MULTI_PACKAGES= -main -gmdb
SUBPACKAGE?=
SHARED_LIBS += mdb 1.0 # .1.0 SHARED_LIBS += mdb 1.0 # .1.0
SHARED_LIBS += mdbsql 1.0 # .1.0 SHARED_LIBS += mdbsql 1.0 # .1.0
@ -39,9 +38,11 @@ WANTLIB= c
MODULES= devel/gettext MODULES= devel/gettext
.if !defined(PACKAGING) || ${SUBPACKAGE} == "-gmdb" LIB_DEPENDS-gmdb=${LIB_DEPENDS} \
LIB_DEPENDS+= gnomeui-2::x11/gnome/libgnomeui gnomeui-2::x11/gnome/libgnomeui \
WANTLIB+= audiofile bonobo-activation popt ORBit-2 pthread \ mdb,mdbsql::databases/mdbtools/snapshot
WANTLIB-gmdb= ${WANTLIB} \
audiofile bonobo-activation popt ORBit-2 pthread \
bonoboui-2 atk-1.0 gobject-2.0 m jpeg \ bonoboui-2 atk-1.0 gobject-2.0 m jpeg \
SM esd fontconfig ssl z cairo glitz png \ SM esd fontconfig ssl z cairo glitz png \
gthread-2.0 art_lgpl_2 X11 glade-2.0 \ gthread-2.0 art_lgpl_2 X11 glade-2.0 \
@ -51,16 +52,8 @@ WANTLIB+= audiofile bonobo-activation popt ORBit-2 pthread \
gnome-keyring freetype crypto gtk-x11-2.0 \ gnome-keyring freetype crypto gtk-x11-2.0 \
pangocairo-1.0 gdk_pixbuf-2.0 bonobo-2 \ pangocairo-1.0 gdk_pixbuf-2.0 bonobo-2 \
gnomevfs-2 ORBitCosNaming-2 gnomevfs-2 ORBitCosNaming-2
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-gmdb"
LIB_DEPENDS+= mdb,mdbsql::databases/mdbtools/snapshot
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == ""
WANTLIB+= readline termcap
.endif
WANTLIB-main= ${WANTLIB} readline termcap
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/05/01 09:55:33 espie Exp $ @comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/21 10:32:38 espie Exp $
@lib lib/libmdb.so.${LIBmdb_VERSION} @lib lib/libmdb.so.${LIBmdb_VERSION}
@lib lib/libmdbsql.so.${LIBmdbsql_VERSION} @lib lib/libmdbsql.so.${LIBmdbsql_VERSION}

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/01 09:55:33 espie Exp $ @comment $OpenBSD: PLIST-main,v 1.1 2006/11/21 10:32:38 espie Exp $
@pkgpath databases/mdbtools/snapshot
%%SHARED%% %%SHARED%%
bin/mdb-array bin/mdb-array
bin/mdb-export bin/mdb-export