aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ipsc/Makefile
blob: 73fd851e442c0a0cc7f124ddb4a5aea30065b342 (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
# 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=    IP Subnet Calculator

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

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

ALL_TARGET= ipsc
PLIST_FILES=    bin/ipsc man/man8/ipsc.8.gz

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

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

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

.include <bsd.port.mk>