1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/sysutils/ipsc/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

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