new MULTI_PACKAGES

This commit is contained in:
espie 2006-11-26 00:40:28 +00:00
parent 65ba8cf57c
commit 5326b7e2de
4 changed files with 12 additions and 18 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.23 2006/08/01 23:39:08 espie Exp $
# $OpenBSD: Makefile,v 1.24 2006/11/26 00:40:28 espie Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
SHARED_ONLY= Yes
COMMENT= "C++ API for MySQL"
COMMENT-main= "C++ API for MySQL"
COMMENT-docs= "C++ API for MySQL documentation"
VERSION= 2.0.6
DISTNAME= mysql++-${VERSION}
PKGNAME= ${DISTNAME}p2
PKGNAME-main= ${DISTNAME}p3
PKGNAME-docs= mysql++-docs-${VERSION}
SHARED_LIBS= mysqlpp 3.0
SHARED_LIBS += mysqlpp 3.0 # .2.6
CATEGORIES= devel
HOMEPAGE= http://tangentsoft.net/mysql++/
@ -24,16 +24,11 @@ PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}releases/
MULTI_PACKAGES= -docs
SUBPACKAGE?=
MULTI_PACKAGES= -main -docs
.if ${SUBPACKAGE} != "-docs"
LIB_DEPENDS= lib/mysql/mysqlclient.>=10::databases/mysql
WANTLIB= crypto m ssl z
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
PKG_ARCH= *
.endif
LIB_DEPENDS-main= lib/mysql/mysqlclient.>=10::databases/mysql
WANTLIB-main= crypto m ssl z
PKG_ARCH-docs= *
NO_REGRESS= Yes
USE_LIBTOOL= Yes

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2006/01/07 17:58:49 bernd Exp $
@lib lib/libmysqlpp.so.${LIBmysqlpp_VERSION}

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.5 2006/01/07 17:58:49 bernd Exp $
%%SHARED%%
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/26 00:40:28 espie Exp $
@pkgpath databases/mysql++
include/mysql++/
include/mysql++/coldata.h
include/mysql++/compare.h
@ -34,3 +34,4 @@ include/mysql++/type_info.h
include/mysql++/vallist.h
lib/libmysqlpp.a
lib/libmysqlpp.la
@lib lib/libmysqlpp.so.${LIBmysqlpp_VERSION}