blob: a6f96e99ff349c26593f409aa082b3c9baeeac16 (
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
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.9 1998/04/22 14:22:49 agc Exp $
# FreeBSD Id: Makefile,v 1.6 1997/11/27 00:35:27 se Exp
#
DISTNAME= kdebase-Beta3-1
PKGNAME= kdebase-3.1b
CATEGORIES= x11 kde
MASTER_SITES= ftp://ftp.net.lut.ac.uk/kde/stable/Beta3/distribution/tgz/source/ \
ftp://ftp.uni-erlangen.de/pub/Linux/MIRROR.KDE/stable/Beta3/distribution/tgz/source/ \
ftp://ftp.caldera.com/pub/mirrors/kde/stable/Beta3/distribution/tgz/source/
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= packages@netbsd.org
BUILD_DEPENDS= moc:${PORTSDIR}/x11/qt
DEPENDS+= jpeg-6a:../../graphics/jpeg
DEPENDS+= qt-1.33:../../x11/qt
DEPENDS+= kdelibs-3.1b:../../x11/kdelibs
DEPENDS+= giflib-3.0:../../graphics/giflib
USE_X11= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= "--prefix=${PREFIX}" \
"--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= CXXFLAGS="${CFLAGS}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
WRKSRC= ${WRKDIR}/kdebase
PLIST_SRC= ${WRKDIR}/PLIST.tmp
PLIST_DIRS= ${PREFIX}/share/applnk \
${PREFIX}/share/apps/kappfinder \
${PREFIX}/share/mimelnk
post-install:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@find ${PLIST_DIRS} -type f | \
${SED} "s/${PREFIX:S/\//\\\//g}\///g" >>${PLIST_SRC}
@find ${PLIST_DIRS} -type d | sort -r | \
${SED} "s/${PREFIX:S/\//\\\//g}\//\@dirrm /g" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
|