aboutsummaryrefslogtreecommitdiff
path: root/net/ipsorc/Makefile
blob: 07479d00d6d9b6228b6ff2febfd5029b0866a6b0 (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
# New ports collection makefile for:    ipsorc
# Date created:                         02 December, 2001
# Whom:                                 Nicolas.Jombart@hsc-labs.com
#
# $FreeBSD$
#

PORTNAME=       ipsorc
PORTVERSION=    1.6
CATEGORIES=     net security
MASTER_SITES=   http://www.legions.org/~phric/
MASTER_SITE_SUBDIR=     ${PORTNAME}

MAINTAINER=     Nicolas.Jombart@hsc-labs.com

USE_GTK=        yes

post-patch:
	@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
	@${SED} s,gtk-config,${GTK_CONFIG}, < ${WRKSRC}/Makefile.old \
	        > ${WRKSRC}/Makefile
	@${RM} ${WRKSRC}/Makefile.old

do-install:
.for file in ipmagic magic
	${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in README
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>