1999-04-09 00:11:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 1999/04/09 04:12:01 brad Exp $
|
|
|
|
|
|
|
|
DISTNAME= bxform-088
|
|
|
|
PKGNAME= xforms-0.88
|
|
|
|
WRKSRC= ${WRKDIR}/xforms
|
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/%SUBDIR%/
|
1998-07-08 05:47:15 -04:00
|
|
|
|
1998-07-09 03:07:57 -04:00
|
|
|
.if (${MACHINE_ARCH} == "hp300")
|
1999-04-09 00:11:45 -04:00
|
|
|
XFORMS_ARCH= m68k
|
1998-07-09 03:07:57 -04:00
|
|
|
.else
|
1999-04-09 00:11:45 -04:00
|
|
|
XFORMS_ARCH= ${MACHINE_ARCH}
|
1998-07-09 03:07:57 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MASTER_SITE_SUBDIR= openBSD-${XFORMS_ARCH}
|
1999-04-09 00:11:45 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
1998-07-08 05:47:15 -04:00
|
|
|
|
1999-04-09 00:11:45 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1998-07-08 05:47:15 -04:00
|
|
|
|
1999-04-09 00:11:45 -04:00
|
|
|
ONLY_FOR_ARCHS= i386 sparc m68k hp300
|
1998-07-08 05:47:15 -04:00
|
|
|
|
1999-04-09 00:11:45 -04:00
|
|
|
DIST_SUBDIR= xforms/${MASTER_SITE_SUBDIR}
|
1998-07-08 05:47:15 -04:00
|
|
|
|
|
|
|
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
|
1999-04-09 00:11:45 -04:00
|
|
|
OBJMACHINE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_X11= yes
|
1998-07-08 05:47:15 -04:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/mkconfig.h ${WRKSRC}/mkconfig.h.orig
|
|
|
|
${CP} ${FILESDIR}/mkconfig.h ${WRKSRC}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|