openbsd-ports/net/spectrum-tools/Makefile

62 lines
1.5 KiB
Makefile
Raw Normal View History

2010-11-19 17:31:32 -05:00
# $OpenBSD: Makefile,v 1.12 2010/11/19 22:31:38 espie Exp $
COMMENT-main = graphical tools for the MetaGeek Wi-spy spectrum analyser
COMMENT-utils = tools for the MetaGeek Wi-spy spectrum analyser
V = 2009-06-R1
DISTNAME = spectools-$V
2009-08-12 18:01:56 -04:00
PKGNAME = spectrum-tools-$V
FULLPKGNAME-main = spectrum-tools-${V:S/-//g}
FULLPKGNAME-utils = spectrum-tools-utils-${V:S/-//g}
2010-10-11 04:11:24 -04:00
REVISION-main = 1
CATEGORIES = net
MASTER_SITES = http://www.kismetwireless.net/code/
HOMEPAGE = http://www.kismetwireless.net/spectools/
MAINTAINER = Chris Kuethe <ckuethe@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MULTI_PACKAGES = -main -utils
WANTLIB = c m pthread usb
WANTLIB-main = ${WANTLIB} \
X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
2010-10-11 04:11:24 -04:00
freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
iconv intl pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
2010-11-11 12:20:27 -05:00
png pthread-stubs xcb z gdk_pixbuf-2.0 gtk-x11-2.0 gdk-x11-2.0
WANTLIB-utils = ${WANTLIB} ncurses
2010-11-19 17:31:32 -05:00
LIB_DEPENDS = devel/libusb
LIB_DEPENDS-main += ${LIB_DEPENDS} \
2010-11-19 17:31:32 -05:00
x11/gtk+2
2010-11-19 17:31:32 -05:00
RUN_DEPENDS-main = net/spectrum-tools,-utils
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE = Yes
NO_REGRESS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spectrum-tools
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/spectrum-tools
.include <bsd.port.mk>