2001-08-30 20:02:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2001/08/31 00:02:14 naddy Exp $
|
2001-05-06 00:41:05 -04:00
|
|
|
|
|
|
|
COMMENT= "GUI toolkit for X11"
|
2000-09-13 00:04:02 -04:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386 sparc m68k hp300
|
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "hp300")
|
|
|
|
XFORMS_ARCH= m68k
|
|
|
|
.else
|
|
|
|
XFORMS_ARCH= ${MACHINE_ARCH}
|
|
|
|
.endif
|
1999-04-09 00:11:45 -04:00
|
|
|
|
|
|
|
DISTNAME= bxform-088
|
|
|
|
PKGNAME= xforms-0.88
|
|
|
|
CATEGORIES= x11
|
2001-05-06 00:41:05 -04:00
|
|
|
NEED_VERSION= 1.402
|
2001-08-30 20:02:14 -04:00
|
|
|
MASTER_SITES= ftp://ncmir.ucsd.edu/pub/xforms/%SUBDIR%/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/X11/gui/xforms/%SUBDIR%/ \
|
|
|
|
ftp://ftp.st.ryukoku.ac.jp/pub/X11/xforms/%SUBDIR%/
|
2000-09-13 00:04:02 -04:00
|
|
|
MASTER_SITE_SUBDIR= openBSD-${XFORMS_ARCH}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= xforms/${MASTER_SITE_SUBDIR}
|
|
|
|
|
2000-03-23 20:24:35 -05:00
|
|
|
HOMEPAGE= http://world.std.com/~xforms/
|
2000-09-13 00:04:02 -04:00
|
|
|
|
2000-03-23 17:14:37 -05:00
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
|
2000-03-25 08:39:26 -05:00
|
|
|
# I asked the author and I got permission (OpenBSD is a similar enough case
|
|
|
|
# to Linux) -- espie@
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2000-03-23 17:14:37 -05:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2000-03-25 08:39:26 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2000-03-23 17:14:37 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
1998-07-08 05:47:15 -04:00
|
|
|
|
2000-09-13 00:04:02 -04:00
|
|
|
FAKE_FLAGS= PREFIX="${PREFIX}" DESTDIR="${WRKINST}"
|
1998-07-08 05:47:15 -04:00
|
|
|
|
|
|
|
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
|
2000-03-18 21:32:22 -05:00
|
|
|
OBJMACHINE= Yes
|
|
|
|
NO_BUILD= Yes
|
|
|
|
USE_X11= Yes
|
2000-09-13 00:04:02 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/xforms
|
1998-07-08 05:47:15 -04:00
|
|
|
|
|
|
|
post-patch:
|
2000-09-13 00:04:02 -04:00
|
|
|
@mv -f ${WRKSRC}/mkconfig.h ${WRKSRC}/mkconfig.h.orig
|
|
|
|
@cp -f ${FILESDIR}/mkconfig.h ${WRKSRC}
|
1998-07-08 05:47:15 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|