blob: ef96a37097a73838b2561a42384d8746463c03e0 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: ipsc
# Date created: 31 October 1999
# Whom: Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#
PORTNAME= ipsc
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.alaskaparadise.com/freebsd/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= beech@FreeBSD.org
COMMENT= An IP Subnet Calculator
BUILD_DEPENDS= ${PRIPS_WRKSRC}/prips.o:${.CURDIR}/../prips:build
WRKSRC= ${WRKDIR}/ipsc/src
WANT_GNOME= yes
PLIST_FILES= bin/ipsc
MAN8= ipsc.8
.if defined(HAVE_GNOME)
USE_X_PREFIX= yes
USE_GNOME= yes
ALL_TARGET= all
PLIST_FILES+= bin/gipsc
.else
ALL_TARGET= ipsc
.endif
PRIPS_WRKSRC!= cd ${.CURDIR}/../prips && ${MAKE} -V WRKSRC
post-extract:
${LN} -s ${PRIPS_WRKSRC} ${WRKDIR}/prips
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${PREFIX}/bin
.if defined(HAVE_GNOME)
${INSTALL_PROGRAM} ${WRKSRC}/gipsc ${PREFIX}/bin
.endif
${INSTALL_MAN} ${FILESDIR}/ipsc.8 ${MANPREFIX}/man/man8
.include <bsd.port.mk>
|