2005-01-24 11:31:59 +01:00
|
|
|
# New ports collection makefile for: Viewkit from Hungry Programming
|
|
|
|
# Date created: Aug 2000
|
|
|
|
# Whom: peterho@ned.dem.csiro.au
|
2001-04-07 06:19:54 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-01-24 11:31:59 +01:00
|
|
|
PORTNAME= viewkit
|
|
|
|
PORTVERSION= 0.00
|
2001-04-07 06:19:54 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2001-11-27 08:09:30 +01:00
|
|
|
MASTER_SITES= ftp://ftp.hungry.com/pub/hungry/viewkit/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= fenner
|
2005-01-24 11:31:59 +01:00
|
|
|
DISTNAME= libvk-Apr19-2243
|
2001-04-07 06:19:54 +02:00
|
|
|
|
2004-08-20 21:12:34 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 15:19:11 +01:00
|
|
|
COMMENT= ViewKit workalike from Hungry Programmers
|
2001-04-07 06:19:54 +02:00
|
|
|
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:253:env
|
2005-01-24 11:31:59 +01:00
|
|
|
MOTIFPACKAGE?= open-motif
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_MOTIF= yes
|
2001-04-07 06:19:54 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-${MOTIFPACKAGE}
|
|
|
|
|
2005-01-24 11:31:59 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/^friend/friend class/' ${WRKSRC}/Vk/VkAction.h \
|
|
|
|
${WRKSRC}/Vk/VkApp.h ${WRKSRC}/Vk/VkMenu.h
|
|
|
|
@${REINPLACE_CMD} -E 's/\((VkPipe::handleInput)\)/\1/' ${WRKSRC}/VkPipe.C
|
2003-06-05 00:43:38 +02:00
|
|
|
|
2001-04-07 06:19:54 +02:00
|
|
|
pre-configure:
|
2004-08-04 00:36:52 +02:00
|
|
|
@cd ${WRKSRC}; ${CHMOD} +w configure; ${AUTOCONF}
|
2001-04-07 06:19:54 +02:00
|
|
|
|
2005-01-24 11:31:59 +01:00
|
|
|
.include <bsd.port.mk>
|