new MULTI_PACKAGES
This commit is contained in:
parent
0a712b9022
commit
02a798a1b1
@ -1,10 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2006/11/16 21:48:21 mbalmer Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2006/11/26 11:36:32 espie Exp $
|
||||
|
||||
COMMENT= "mail delivery agent with filtering abilities"
|
||||
COMMENT-main= "mail delivery agent with filtering abilities"
|
||||
COMMENT-utils= "quota tools for the Courier mail suite"
|
||||
|
||||
DISTNAME= maildrop-2.0.2
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
V= 2.0.2
|
||||
DISTNAME= maildrop-$V
|
||||
PKGNAME-main= maildrop-$Vp2
|
||||
FULLPKGNAME-utils= courier-utils-$Vp0
|
||||
CATEGORIES= mail
|
||||
|
||||
HOMEPAGE= http://www.courier-mta.org/maildrop/
|
||||
@ -16,10 +18,8 @@ EXTRACT_SUFX= .tar.bz2
|
||||
FLAVORS= postfix
|
||||
FLAVOR?=
|
||||
|
||||
MULTI_PACKAGES= -utils
|
||||
SUBPACKAGE?=
|
||||
MULTI_PACKAGES= -main -utils
|
||||
|
||||
FULLPKGNAME-utils= ${DISTNAME:S/maildrop/courier-utils/}p0
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -72,16 +72,12 @@ CONFIGURE_ARGS+= --enable-trusted-users="root _courier"
|
||||
CONFIGURE_ARGS+= --enable-trusted-groups="wheel _courier"
|
||||
.endif
|
||||
|
||||
.if defined(PACKAGING) && $(SUBPACKAGE) == "-utils"
|
||||
LIB_DEPENS=
|
||||
WANTLIB+= c
|
||||
.else
|
||||
WANTLIB+= c gdbm m stdc++
|
||||
LIB_DEPENDS+= gdbm.>=3::databases/gdbm \
|
||||
WANTLIB-utils= c
|
||||
|
||||
WANTLIB-main= c gdbm m stdc++
|
||||
LIB_DEPENDS-main= gdbm.>=3::databases/gdbm \
|
||||
pcre.>=1::devel/pcre \
|
||||
courierauth::mail/courier-authlib
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/maildrop
|
||||
@for i in ${DOCFILES}; do \
|
||||
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.11 2006/11/16 21:48:22 mbalmer Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/26 11:36:32 espie Exp $
|
||||
@pkgpath mail/maildrop
|
||||
@newgroup _courier:571
|
||||
@newuser _courier:571:571:daemon:Courier Mail Server:/var/empty:/sbin/nologin
|
||||
@owner _courier
|
@ -1,12 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2006/09/18 12:19:39 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2006/11/26 11:35:12 espie Exp $
|
||||
|
||||
COMMENT= "applets for use with the GNOME panel"
|
||||
COMMENT-main= "applets for use with the GNOME panel"
|
||||
COMMENT-battstat= "GNOME applet for monitoring battery level"
|
||||
|
||||
VERSION= 2.10.1
|
||||
SUBVERS= p1
|
||||
DISTNAME= gnome-applets-${VERSION}
|
||||
PKGNAME= gnome-applets2-${VERSION}p4
|
||||
PKGNAME-main= gnome-applets2-${VERSION}p5
|
||||
PKGNAME-battstat= gnome-applets2-battstat-${VERSION}${SUBVERS}p1
|
||||
CATEGORIES= x11 x11/gnome
|
||||
|
||||
@ -37,7 +37,8 @@ BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
||||
:p5-XML-Parser-*:textproc/p5-XML-Parser
|
||||
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
|
||||
:hicolor-icon-theme-*:x11/hicolor-icon-theme
|
||||
LIB_DEPENDS= panel-applet-2::x11/gnome/panel \
|
||||
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
||||
panel-applet-2::x11/gnome/panel \
|
||||
gailutil.>=17::x11/gnome/gail \
|
||||
gstinterfaces-0.8.>=1.0::devel/gstreamer-plugins,minimal \
|
||||
gtop-2.0.>=3.0::devel/libgtop2 \
|
||||
@ -51,13 +52,12 @@ FLAVOR?=
|
||||
FLAVOR+= no_battstat
|
||||
.endif
|
||||
|
||||
MULTI_PACKAGES=
|
||||
MULTI_PACKAGES= -main
|
||||
.if ${FLAVOR:L:Mno_battstat}
|
||||
CONFIGURE_ARGS+= --disable-battstat
|
||||
.else
|
||||
MULTI_PACKAGES+= -battstat
|
||||
.endif
|
||||
SUBPACKAGE?=
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
@ -69,15 +69,10 @@ CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-a
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(PACKAGING)
|
||||
. if ${SUBPACKAGE} == "-battstat"
|
||||
ONLY_FOR_ARCHS= i386 powerpc
|
||||
LIB_DEPENDS= panel-applet-2::x11/gnome/panel
|
||||
. else
|
||||
WANTLIB+= Xau XRes kvm xkbfile gstreamer-0.8.>=5.0 \
|
||||
LIB_DEPENDS-battstat= ${LIB_DEPENDS} panel-applet-2::x11/gnome/panel
|
||||
WANTLIB-main= ${WANTLIB} \
|
||||
Xau XRes kvm xkbfile gstreamer-0.8.>=5.0 \
|
||||
startup-notification-1 wnck-1
|
||||
. endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
|
||||
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.19 2006/01/19 17:22:42 steven Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/26 11:35:12 espie Exp $
|
||||
@pkgpath x11/gnome/applets2
|
||||
@pkgpath x11/gnome/applets2,no_battstat
|
||||
bin/gswitchit-plugins-capplet
|
||||
include/libgswitchit/
|
Loading…
Reference in New Issue
Block a user