blob: fc876299180de03fae28dba8a7b1f67b2d4ecc89 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
|
# 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
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/Hashish
CFLAGS+= -I${LOCALBASE}/include
USE_GMAKE= yes
post-patch:
@${REINPLACE_CMD} -e "s,^CXXFLAGS =,CXXFLAGS+=,g ; \
s,^LBLIBS =,LBLIBS = -L${LOCALBASE}/lib,g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,crypto/,cryptopp/,g" ${WRKSRC}/src/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hashish ${PREFIX}/bin
.include <bsd.port.mk>
|