1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/sysutils/ipsc/Makefile

48 lines
1000 B
Makefile
Raw Normal View History

# 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= 2
CATEGORIES= sysutils gnome
MASTER_SITES= http://www.alaskaparadise.com/freebsd/
2000-10-05 07:22:56 +00:00
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
2007-06-14 22:31:03 +00:00
MAINTAINER= beech@FreeBSD.org
2003-02-21 13:28:59 +00:00
COMMENT= An IP Subnet Calculator
BUILD_DEPENDS= ${PRIPS_WRKSRC}/prips.o:${.CURDIR}/../prips:build
WRKSRC= ${WRKDIR}/ipsc/src
2000-10-05 07:22:56 +00:00
WANT_GNOME= yes
PLIST_FILES= bin/ipsc
2000-10-05 07:22:56 +00:00
MAN8= ipsc.8
2000-10-05 07:22:56 +00:00
.if defined(HAVE_GNOME)
USE_GNOME= gnomeprefix gnomehack gtkhtml
ALL_TARGET= all
PLIST_FILES+= bin/gipsc
.else
ALL_TARGET= ipsc
.endif
PRIPS_WRKSRC!= cd ${.CURDIR}/../prips && ${MAKE} -V WRKSRC
2000-10-05 07:22:56 +00:00
post-extract:
${LN} -s ${PRIPS_WRKSRC} ${WRKDIR}/prips
do-install:
2000-10-05 07:22:56 +00:00
${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>