freebsd-ports/security/hashish/Makefile
Ying-Chieh Liao 0c5ccbb092 add hashish 0.4b
A file and string hashing utility
2002-05-08 06:51:54 +00:00

34 lines
836 B
Makefile

# ex:ts=8
# Ports collection makefile for: hashish
# Date Created: May 7, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= hashish
PORTVERSION= 0.4b
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www4.ncsu.edu/~jllovela/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-beta-0.4-src
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
LIB_DEPENDS= wx_gtk:${PORTSDIR}/x11-toolkits/wxgtk-devel
WRKSRC= ${WRKDIR}/Hashish
CFLAGS+= -I${LOCALBASE}/include
USE_GMAKE= yes
post-patch:
@${PERL} -pi -e "s,^CXXFLAGS =,CXXFLAGS+=,g ; \
s,^LBLIBS =,LBLIBS = -L${LOCALBASE}/lib,g" ${WRKSRC}/Makefile
@${PERL} -pi -e "s,crypto/,cryptopp/,g" ${WRKSRC}/src/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hashish ${PREFIX}/bin
.include <bsd.port.mk>