1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/x11-toolkits/viewkit/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

36 lines
895 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
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:253:env
MOTIFPACKAGE?= open-motif
USE_X_PREFIX= yes
USE_MOTIF= yes
USE_REINPLACE= 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>