new MULTI_PACKAGES

looks good espie@
This commit is contained in:
steven 2006-11-21 20:42:30 +00:00
parent 99d357796f
commit 923fbd131a
12 changed files with 24 additions and 29 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.8 2006/10/28 23:23:29 steven Exp $
# $OpenBSD: Makefile,v 1.9 2006/11/21 20:42:30 steven Exp $
COMMENT= "C routines for computing the Discrete Fourier Transform"
COMMENT-main= "C routines for computing the Discrete Fourier Transform"
COMMENT-common= "common files for the fftw3 packages"
V= 3.1.2
DISTNAME= fftw-${V}
PKGNAME= fftw3-${V}
FULLPKGNAME= fftw3-${V}p1
FULLPKGNAME-main= fftw3-${V}p2
FULLPKGNAME-common= fftw3-common-${V}
SHARED_LIBS= fftw3 4.2 \
fftw3f 4.2
@ -21,7 +21,6 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
http://fftw.mirror.fr/ \
@ -29,8 +28,7 @@ MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
SEPARATE_BUILD= concurrent
MULTI_PACKAGES= -common
SUBPACKAGE?=
MULTI_PACKAGES= -main -common
FLAVORS= double float
FLAVOR?= double
@ -43,17 +41,12 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
.if ${FLAVOR} == "float"
CONFIGURE_ARGS+=--enable-float
FULLPKGNAME= fftw3-float-${V}
FULLPKGNAME-main= fftw3-float-${V}p0
.endif
.if defined(PACKAGING)
. if empty(SUBPACKAGE)
RUN_DEPENDS= ::math/fftw3,-common
. elif ${SUBPACKAGE} == "-common"
PKG_ARCH= *
WANTLIB=
. endif
.endif
RUN_DEPENDS-main= ::math/fftw3,-common
WANTLIB-main= c m
PKG_ARCH-common= *
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fftw3

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PFRAG.double,v 1.2 2006/10/28 23:23:29 steven Exp $
@comment $OpenBSD: PFRAG.double-main,v 1.1 2006/11/21 20:42:30 steven Exp $
@pkgpath math/fftw3
@pkgpath math/fftw3,double
bin/fftw-wisdom
lib/libfftw3.a
lib/libfftw3.la

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.double-shared,v 1.1 2006/10/18 17:40:38 steven Exp $
@lib lib/libfftw3.so.${LIBfftw3_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.double-shared-main,v 1.1 2006/11/21 20:42:30 steven Exp $
@lib lib/libfftw3.so.${LIBfftw3_VERSION}

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PFRAG.float,v 1.1 2006/10/18 17:40:38 steven Exp $
@comment $OpenBSD: PFRAG.float-main,v 1.1 2006/11/21 20:42:30 steven Exp $
@pkgpath math/fftw3,float
bin/fftwf-wisdom
lib/libfftw3f.a
lib/libfftw3f.la

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.float-shared,v 1.1 2006/10/18 17:40:38 steven Exp $
@lib lib/libfftw3f.so.${LIBfftw3f_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.float-shared-main,v 1.1 2006/11/21 20:42:30 steven Exp $
@lib lib/libfftw3f.so.${LIBfftw3f_VERSION}

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2006/10/18 17:40:38 steven Exp $
%%double%%
%%float%%

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/21 20:42:30 steven Exp $
%%double%%
%%float%%

View File

@ -1,5 +0,0 @@
@comment $OpenBSD: PLIST,v 1.2 2006/10/18 17:40:38 steven Exp $
%%SHARED%%
%%double%%
%%float%%
lib/pkgconfig/

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/21 20:42:30 steven Exp $
%%SHARED%%
%%double%%
%%float%%
lib/pkgconfig/