diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-08 06:51:54 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-08 06:51:54 +0000 |
commit | 0c5ccbb092c5031041016ec145fc62c3cc6169ec (patch) | |
tree | 26ba469834b900d54aa61f16a6b0da667fb63154 /security/hashish/Makefile | |
parent | 9245ff8942d3ab384fc1ce81583c4d17952ed50d (diff) | |
download | ports-0c5ccbb092c5031041016ec145fc62c3cc6169ec.tar.gz ports-0c5ccbb092c5031041016ec145fc62c3cc6169ec.zip |
Notes
Diffstat (limited to 'security/hashish/Makefile')
-rw-r--r-- | security/hashish/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/security/hashish/Makefile b/security/hashish/Makefile new file mode 100644 index 000000000000..5369a5792c3c --- /dev/null +++ b/security/hashish/Makefile @@ -0,0 +1,34 @@ +# 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> |