1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11/XFree86-4-libraries/Makefile
Satoshi Asami db626527f3 Don't try to package libOSMesa for FreeBSD versions < 4.1, since they
are skipped in the build.  We can package XFree86-4-lib in 3-stable again!

Reviewed by:	maintainer
2000-09-29 01:39:58 +00:00

62 lines
1.4 KiB
Makefile

# New ports collection makefile for: XFree86Xlibraries-4.0
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= libraries
PORTVERSION= 4.0.1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= X401src-1.tgz
MAINTAINER= taguchi@tohoku.iij.ad.jp
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
XFREE86_VERSION= 4
XFREE86_HTML_MAN= yes
PREFIX?= ${X11BASE}
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
INSTALLS_SHLIB= yes
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc
SCRIPTS_ENV+= PREFIX=${PREFIX} \
X11BASE=${X11BASE} \
WRKDIR=${WRKDIR} \
DISTDIR=${DISTDIR}
ALL_TARGET= FreeBSDPortsBuild
INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man installXlib
MANCOMPRESSED= yes
MAN1= libxrx.1
MAN3= Xaw.3
.include <bsd.port.pre.mk>
# BuildXF86DRI is false for FreeBSD < 4.1
.if ${OSVERSION} < 410000
PLIST_SUB+= OSMESA:="@comment "
.else
PLIST_SUB+= OSMESA:=""
.endif
.if defined(XDM_DES)
.if ${USA_RESIDENT} == YES
pre-fetch:
@${ECHO}
@${ECHO} Assuming that you have fetched a USA-Legal Wraphelp.c.
.else
MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
EXTRACT_ONLY= X401src-1.tgz
DISTFILES+= Wraphelp.c
IGNOREFILES= Wraphelp.c
.endif
.endif
.include <bsd.port.post.mk>