summaryrefslogtreecommitdiffstats
path: root/sysutils/ipsc/Makefile
blob: 5ce0c50458fba46f12a2a5a4b97d37da67f90970 (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
# New ports collection makefile for:	ipsc
# Date created:		31 October 1999
# Whom:			Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#

PORTNAME=	ipsc
PORTVERSION=	0.4.2
CATEGORIES=	sysutils gnome
MASTER_SITES=	http://ipsc.sourceforge.net/dist/ipsc/
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	jeremy@external.org
COMMENT=	An IP Subnet Calculator

BUILD_DEPENDS=	${PORTSDIR}/sysutils/prips/work/prips/prips.o:${PORTSDIR}/sysutils/prips:build

WRKSRC=		${WRKDIR}/ipsc/src

WANT_GNOME=	yes

.include <bsd.port.pre.mk>

.if defined(HAVE_GNOME)
USE_X_PREFIX=	yes
USE_GNOME=	yes
ALL_TARGET=	all
.else
ALL_TARGET=	ipsc
.endif

post-extract:
	@${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../prips/work/prips \
		${WRKDIR}/prips

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${PREFIX}/bin
.if defined(HAVE_GNOME)
	${INSTALL_PROGRAM} ${WRKSRC}/gipsc ${PREFIX}/bin
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud