blob: 08ca5d9a54bc7a7f66bd6df21c9abcb3ceb989ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.26 1999/01/30 23:18:56 agc Exp $
# FreeBSD Id: Makefile,v 1.6 1997/11/27 00:35:27 se Exp
#
DISTNAME= kdebase-1.0
CATEGORIES= x11 kde
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/1.0/distribution/tar/generic/source/ \
ftp://ftp.de.kde.org/pub/kde/stable/1.0/distribution/tar/generic/source/
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.kde.org/
DEPENDS+= Mesa-3.0:../../graphics/Mesa
DEPENDS+= kdelibs-1.0:../../x11/kdelibs
CONFLICTS= kdebase-2.1b kdebase-3.1b kdebase-4.1b
USE_X11BASE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= "--x-inc=${PREFIX}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/giflib" \
"--x-lib=${PREFIX}/lib -L${LOCALBASE}/lib" \
"--with-qt-dir=${PREFIX}" \
"--with-qt-includes=${PREFIX}/include/qt"
CONFIGURE_ENV= KDEDIR=${PREFIX} \
CXXFLAGS="${CFLAGS}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
PLIST_SRC= ${WRKDIR}/PLIST
PLIST_DIRS= share/kde/applnk share/kde/apps/kappfinder share/kde/icons \
share/kde/mimelnk
post-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${PREFIX}; find ${PLIST_DIRS} -type f >>${PLIST_SRC})
@(cd ${PREFIX}; find ${PLIST_DIRS} -type d | sort -r | \
${SED} "s/^/\@dirrm /" >>${PLIST_SRC})
.include "../../mk/bsd.pkg.mk"
|