58971ae2da
- Switch to wxgtk2, provide WITH_GTK1 knob to build with wxgtk. Submitted by: MAINTAINER
36 lines
883 B
Makefile
36 lines
883 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: hashish
|
|
# Date Created: May 7, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= hashish
|
|
PORTVERSION= 1.1a
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= Hashish-${PORTVERSION}
|
|
|
|
MAINTAINER= jllovela@ncsu.edu
|
|
COMMENT= GUI file and string hashing utility
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
|
|
|
|
.if defined(WITH_GTK1)
|
|
LIB_DEPENDS= wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk
|
|
.else
|
|
LIB_DEPENDS= wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2
|
|
.endif
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
.if !defined(WITH_GTK1)
|
|
CONFIGURE_ENV+= WX_CONFIG="${X11BASE}/bin/wxgtk2-2.4-config"
|
|
.endif
|
|
USE_GMAKE= yes
|
|
|
|
.include <bsd.port.mk>
|