aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ipsc/Makefile
blob: b3472ac0f3caffbb186c030bbed60af412132715 (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:    ipsc
# Date created:     31 October 1999
# Whom:         Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#

PORTNAME=   ipsc
PORTVERSION=    0.4.3
CATEGORIES= sysutils
MASTER_SITES=   http://archive.debian.org/debian/pool/main/i/ipsc/
DISTNAME=   ${PORTNAME}_${PORTVERSION}.orig

MAINTAINER= cy@FreeBSD.org
COMMENT=    An IP Subnet Calculator

BUILD_DEPENDS=  ${PRIPS_WRKSRC}/prips.o:${.CURDIR}/../prips:build

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

ALL_TARGET= ipsc
PLIST_FILES=    bin/ipsc

MAN8=   ipsc.8

PRIPS_WRKSRC!=  cd ${.CURDIR}/../prips && ${MAKE} -V WRKSRC

post-extract:
    ${LN} -s ${PRIPS_WRKSRC} ${WRKDIR}/prips

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${PREFIX}/bin
    ${INSTALL_MAN} ${FILESDIR}/ipsc.8 ${MANPREFIX}/man/man8

.include <bsd.port.mk>