1999-11-03 01:58:26 +01:00
|
|
|
# New ports collection makefile for: ipsc
|
|
|
|
# Date created: 31 October 1999
|
|
|
|
# Whom: Jeremy Shaffner <jeremy@external.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 21:09:11 +02:00
|
|
|
PORTNAME= ipsc
|
2000-04-22 12:14:11 +02:00
|
|
|
PORTVERSION= 0.4.2
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2000-01-30 01:16:30 +01:00
|
|
|
CATEGORIES= sysutils gnome
|
2000-04-27 07:01:53 +02:00
|
|
|
MASTER_SITES= http://ipsc.sourceforge.net/dist/ipsc/
|
2000-10-05 09:22:56 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1999-11-03 01:58:26 +01:00
|
|
|
|
|
|
|
MAINTAINER= jeremy@external.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= An IP Subnet Calculator
|
1999-11-03 01:58:26 +01:00
|
|
|
|
2004-10-22 03:54:24 +02:00
|
|
|
BUILD_DEPENDS= ${PRIPS_WRKSRC}/prips.o:${.CURDIR}/../prips:build
|
1999-11-03 01:58:26 +01:00
|
|
|
|
2000-01-12 06:57:54 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ipsc/src
|
1999-11-03 01:58:26 +01:00
|
|
|
|
2000-10-05 09:22:56 +02:00
|
|
|
WANT_GNOME= yes
|
2004-10-13 02:53:36 +02:00
|
|
|
PLIST_FILES= bin/ipsc
|
2000-10-05 09:22:56 +02:00
|
|
|
|
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= yes
|
2000-04-22 12:14:11 +02:00
|
|
|
ALL_TARGET= all
|
2004-10-13 02:53:36 +02:00
|
|
|
PLIST_FILES+= bin/gipsc
|
1999-11-03 01:58:26 +01:00
|
|
|
.else
|
|
|
|
ALL_TARGET= ipsc
|
|
|
|
.endif
|
|
|
|
|
2004-10-22 03:54:24 +02:00
|
|
|
PRIPS_WRKSRC!= cd ${.CURDIR}/../prips && ${MAKE} -V WRKSRC
|
|
|
|
|
2000-10-05 09:22:56 +02:00
|
|
|
post-extract:
|
2004-10-22 03:54:24 +02:00
|
|
|
${LN} -s ${PRIPS_WRKSRC} ${WRKDIR}/prips
|
1999-11-03 01:58:26 +01:00
|
|
|
|
|
|
|
do-install:
|
2000-10-05 09:22:56 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${PREFIX}/bin
|
|
|
|
.if defined(HAVE_GNOME)
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gipsc ${PREFIX}/bin
|
1999-11-03 01:58:26 +01:00
|
|
|
.endif
|
|
|
|
|
2004-10-13 02:53:36 +02:00
|
|
|
.include <bsd.port.mk>
|