summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-08-13 16:09:07 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-08-13 16:09:07 +0000
commit0c0c6349af99587eb8659bf0dfc77972583710da (patch)
treeb18d5db7609217dacd46a068c9dc9089f0fa3c1d /x11-wm
parentThis port needs xmkmf in order to build. (diff)
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
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/afterstep-i18n/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11-wm/afterstep-i18n/Makefile b/x11-wm/afterstep-i18n/Makefile
index 41b44b444dff..2aeac54ec8d6 100644
--- a/x11-wm/afterstep-i18n/Makefile
+++ b/x11-wm/afterstep-i18n/Makefile
@@ -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