summaryrefslogtreecommitdiff
path: root/sysutils/ipsc/Makefile
blob: efd741854ce0c69cc5cd6e7fc311a30d87e09b3f (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
# Created by: 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:${PORTSDIR}/sysutils/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

NO_STAGE=	yes
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>