openbsd-ports/x11/xforms/Makefile

42 lines
931 B
Makefile
Raw Normal View History

1998-07-08 05:47:15 -04:00
# New ports collection makefile for: xforms library
# Version required: 0.88.1
# Date created: 08 July 1998
# Whom: form@vs.itam.nsc.ru
#
1998-07-09 03:07:57 -04:00
# $OpenBSD: Makefile,v 1.2 1998/07/09 07:07:57 form Exp $
1998-07-08 05:47:15 -04:00
#
DISTNAME= bxform-088
PKGNAME= xforms-0.88
WRKSRC= ${WRKDIR}/xforms
CATEGORIES= x11
MASTER_SITES= ftp://bragg.phys.uwm.edu/pub/xforms/%SUBDIR%/
1998-07-09 03:07:57 -04:00
.if (${MACHINE_ARCH} == "hp300")
XFORMS_ARCH= m68k
.else
XFORMS_ARCH= ${MACHINE_ARCH}
.endif
MASTER_SITE_SUBDIR= openBSD-${XFORMS_ARCH}
1998-07-08 05:47:15 -04:00
EXTRACT_SUFX= .tgz
MAINTAINER= form@vs.itam.nsc.ru
1998-07-09 03:07:57 -04:00
ONLY_FOR_ARCHS= i386 sparc m68k hp300
1998-07-08 05:47:15 -04:00
DIST_SUBDIR= xforms/${MASTER_SITE_SUBDIR}
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
OBJMACHINE= yes
NO_BUILD= yes
USE_X11= yes
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>