1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/x11-toolkits/viewkit/Makefile
Ade Lovett 771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00

35 lines
874 B
Makefile

# New ports collection makefile for: Viewkit from Hungry Programming
# Date created: Aug 2000
# Whom: peterho@ned.dem.csiro.au
#
# $FreeBSD$
#
PORTNAME= viewkit
PORTVERSION= 0.00
PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.hungry.com/pub/hungry/viewkit/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fenner
DISTNAME= libvk-Apr19-2243
MAINTAINER= ports@FreeBSD.org
COMMENT= ViewKit workalike from Hungry Programmers
USE_AUTOTOOLS= autoconf:262:env
MOTIFPACKAGE?= open-motif
USE_MOTIF= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-${MOTIFPACKAGE}
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
pre-configure:
@cd ${WRKSRC}; ${CHMOD} +w configure; ${AUTOCONF}
.include <bsd.port.mk>