be54d47d8c
needed for the powerpc -> macppc name change
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2001/09/28 06:02:14 pvalchev Exp $
|
|
|
|
COMMENT= "download manager for KDE"
|
|
|
|
DISTNAME= kmago-1.1.2
|
|
CATEGORIES= net
|
|
NEED_VERSION= 1.387
|
|
|
|
HOMEPAGE= http://kmago.sourceforge.net/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= kmago
|
|
|
|
BUILD_DEPENDS= uic::x11/qt2-designer
|
|
LIB_DEPENDS= kdecore.3.::x11/kde/libs2
|
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
# Ensure qt2 will always be at the front
|
|
MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${LOCALBASE}/lib/qt2'
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/admin
|
|
CONFIGURE_ARGS= --with-qt-includes=${LOCALBASE}/include/X11/qt2
|
|
CONFIGURE_ARGS+= --with-qt-libraries=${LOCALBASE}/lib/qt2
|
|
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
|
|
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
|
|
CONFIGURE_ENV= MOC=${LOCALBASE}/bin/moc2 KDEDIR=${LOCALBASE}
|
|
|
|
FLAVORS= wget
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L} == "wget"
|
|
RUN_DEPENDS= wget::net/wget
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-wget
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|