1999-11-03 00:58:26 +00:00
|
|
|
# New ports collection makefile for: ipsc
|
2000-01-12 05:57:54 +00:00
|
|
|
# Version required: 0.4.2
|
1999-11-03 00:58:26 +00:00
|
|
|
# Date created: 31 October 1999
|
|
|
|
# Whom: Jeremy Shaffner <jeremy@external.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-01-12 05:57:54 +00:00
|
|
|
DISTNAME= ipsc-0.4.2-src
|
|
|
|
PKGNAME= ipsc-0.4.2
|
2000-01-30 00:16:30 +00:00
|
|
|
CATEGORIES= sysutils gnome
|
1999-11-03 00:58:26 +00:00
|
|
|
MASTER_SITES= http://www.interloper.net/~dan/software/dist/ipsc/
|
|
|
|
|
|
|
|
MAINTAINER= jeremy@external.org
|
|
|
|
|
2000-01-12 05:57:54 +00:00
|
|
|
BUILD_DEPENDS= ${WRKDIRPREFIX}${PORTSDIR}/sysutils/prips/work/prips/prips.o:${PORTSDIR}/sysutils/prips:build
|
1999-12-10 01:21:47 +00:00
|
|
|
.if defined(USE_GNOME)
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
|
|
|
gnome.3:${PORTSDIR}/x11/gnomelibs
|
1999-11-03 00:58:26 +00:00
|
|
|
.endif
|
|
|
|
|
2000-01-30 00:16:30 +00:00
|
|
|
.if defined(USE_GNOME)
|
|
|
|
USE_XLIB= YES
|
|
|
|
.endif
|
2000-01-12 05:57:54 +00:00
|
|
|
WRKSRC= ${WRKDIR}/ipsc/src
|
1999-11-03 00:58:26 +00:00
|
|
|
|
2000-01-12 05:57:54 +00:00
|
|
|
post-extract:
|
|
|
|
@${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../prips/work/prips \
|
|
|
|
${WRKDIR}/prips
|
|
|
|
|
|
|
|
pre-build:
|
1999-12-10 01:21:47 +00:00
|
|
|
.if defined(USE_GNOME)
|
|
|
|
PLIST= ${PKGDIR}/PLIST.gnome
|
1999-11-03 00:58:26 +00:00
|
|
|
ALL_TARGET= all
|
|
|
|
.else
|
|
|
|
ALL_TARGET= ipsc
|
|
|
|
.endif
|
|
|
|
|
2000-01-12 05:57:54 +00:00
|
|
|
post-build:
|
|
|
|
.if defined(USE_GNOME)
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Don't forget to define USE_GNOME when installing"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
.endif
|
1999-11-03 00:58:26 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${PREFIX}/bin
|
1999-12-10 01:21:47 +00:00
|
|
|
.if defined(USE_GNOME)
|
1999-11-03 00:58:26 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/gipsc ${PREFIX}/bin
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|