2003-05-04 08:11:04 +00:00
|
|
|
# New ports collection makefile for: iip
|
|
|
|
# Date created: Sun May 4 07:40:30 UTC 2003
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= iip
|
|
|
|
PORTVERSION= 1.1.0
|
2005-01-10 19:24:27 +00:00
|
|
|
PORTREVISION= 1
|
2003-05-04 08:11:04 +00:00
|
|
|
CATEGORIES= irc security
|
2005-01-10 19:24:27 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} \
|
|
|
|
${MASTER_SITE_LOCAL:S/$/:node_update/}
|
|
|
|
MASTER_SITE_SUBDIR= invisibleip \
|
|
|
|
lioux/:node_update
|
2003-05-04 08:11:04 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2005-01-10 19:24:27 +00:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
node-${NODE_REF_VERSION_DATE}.ref.bz2:node_update
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
2003-05-04 08:11:04 +00:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
COMMENT= Secure and Anonymous Instant Messaging
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
2005-01-10 19:24:27 +00:00
|
|
|
PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2003-05-04 08:11:04 +00:00
|
|
|
INSTALL_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2005-01-10 19:24:27 +00:00
|
|
|
DEPRECATED= 'IIP network has been resurrected but it is no\
|
|
|
|
longer stable. It should work but be warned. Use\
|
|
|
|
at your own risk!'
|
|
|
|
|
2003-05-04 08:11:04 +00:00
|
|
|
MAN1= isproxy.1
|
|
|
|
|
2005-01-10 19:24:27 +00:00
|
|
|
NODE_REF_VERSION_DATE= 20050110
|
2003-05-04 08:11:04 +00:00
|
|
|
DOC_FILES= AUTHORS CHANGELOG COPYING INSTALL README
|
|
|
|
|
2005-01-10 19:24:27 +00:00
|
|
|
post-extract:
|
|
|
|
@${BZCAT} \
|
|
|
|
${DISTDIR}/${DIST_SUBDIR}/node-${NODE_REF_VERSION_DATE}.ref.bz2 \
|
|
|
|
> ${WRKSRC}/node.ref
|
|
|
|
|
2003-05-04 08:11:04 +00:00
|
|
|
do-configure:
|
|
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|; \
|
|
|
|
s|%%DATADIR%%|${DATADIR:S,^${PREFIX}/,,}|' \
|
|
|
|
${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e 's|^(PREFIX).*$$|\1=${PREFIX}|; \
|
|
|
|
s|^(CC).*$$|\1=${CC}|; \
|
|
|
|
s|^(LD)[[:space:]]*=.*$$|\1=${CC}|; \
|
|
|
|
s|^(CFLAGS).*$$|\1+=-g -I. -I..|' \
|
|
|
|
${CONFIGURE_WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
# data
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${INSTALL_WRKSRC}/src/node.ref ${DATADIR}
|
|
|
|
# doc
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${INSTALL_WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${DOCSDIR}/protocol
|
|
|
|
@${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/protocol/* \
|
|
|
|
${DOCSDIR}/protocol
|
|
|
|
.endif # NOPORTDOCS
|
|
|
|
# man
|
|
|
|
.for file in ${MAN1}
|
|
|
|
@${INSTALL_MAN} ${INSTALL_WRKSRC}/doc/${file} \
|
|
|
|
${MAN1PREFIX}/man/man1
|
|
|
|
.endfor
|
|
|
|
# sbin
|
|
|
|
@${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/isproxy \
|
|
|
|
${PREFIX}/sbin/isproxy-real
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh \
|
|
|
|
${PREFIX}/sbin/isproxy
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|