This port needs xmkmf in order to build.

Depend on XFree86 version 3 if XFREE86_VERSION is not defined or != 4,
or version 4 if the previous condition is not true (that is, in the
case xmkmf isn't installed on the system).

Portlint while I'm here.

Found by:	bento
This commit is contained in:
Alexander Langer 2000-08-13 16:09:07 +00:00
parent c652035d76
commit 0c0c6349af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31615

View File

@ -18,13 +18,19 @@ DISTNAME= AfterStep-1.0
DISTFILES= ${DISTNAME}.tar.gz \
unofficial-I18N.98Feb27.tar.gz \
kterm.xpm kterm2.xpm KTerm-AS.xpm netscape4.xpm
EXTRACT_ONLY= ${DISTNAME}.tar.gz \
unofficial-I18N.98Feb27.tar.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= issei@jp.FreeBSD.org
EXTRACT_ONLY= ${DISTNAME}.tar.gz \
unofficial-I18N.98Feb27.tar.gz
.if defined(XFREE86_VERSION) && (${XFREE86_VERSION} == 4)
BUILD_DEPENDS= ${X11BASE}/bin/xmkmf:${PORTSDIR}/x11/XFree86-4
.else
BUILD_DEPENDS= ${X11BASE}/bin/xmkmf:${PORTSDIR}/x11/XFree86
.endif
DIST_SUBDIR= afterstep
USE_X_PREFIX= yes
USE_XPM= yes