blob: bdfdbb24e98256b1333cee81cf4eccd3e6758416 (
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
|
# $NetBSD: Makefile,v 1.3 2000/07/10 15:08:18 agc Exp $
#
DISTNAME= kmap-0.5.6
CATEGORIES= kde net security
MASTER_SITES= http://www.islc.net/~icszepp/kmap/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.islc.net/~icszepp/kmap/
DEPENDS+= kdebase-1.1.2:../../x11/kdebase
DEPENDS+= nmap-2.12:../../net/nmap
USE_X11BASE= yes # To get this near KDE
GNU_CONFIGURE= yes
CONFIGURE_ENV+= QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1
CONFIGURE_ARGS+=--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1
post-patch:
cd ${WRKSRC}/kmap ; \
[ -f kmap.cpp.BAK ] || ${MV} kmap.cpp kmap.cpp.BAK ; \
${SED} \
-e 's|@LOCALBASE@|${LOCALBASE}|' \
<kmap.cpp.BAK >kmap.cpp
.include "../../mk/bsd.pkg.mk"
|