blob: 49535c98fc5e8c769459b91b9a180fb5edfb4998 (
plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# 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
CATEGORIES= irc security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= invisibleip
EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
COMMENT= Secure and Anonymous Instant Messaging
USE_REINPLACE= yes
USE_SIZE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
INSTALL_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= isproxy.1
DOC_FILES= AUTHORS CHANGELOG COPYING INSTALL README
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>
|