aboutsummaryrefslogtreecommitdiff
path: root/math/ploticus
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:44:46 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:44:46 +0000
commit048a1c4dad6576d79c6cfe1ae6e8edccec469128 (patch)
tree805ff76021848119a4b8b3607a46820a116fdc76 /math/ploticus
parent5f87cef0b9c7f52910072390c8f5393fb8318bb1 (diff)
downloadports-048a1c4dad6576d79c6cfe1ae6e8edccec469128.tar.gz
ports-048a1c4dad6576d79c6cfe1ae6e8edccec469128.zip
Notes
Diffstat (limited to 'math/ploticus')
-rw-r--r--math/ploticus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index 17c8bbf7d00b..9d18d402b508 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -27,7 +27,6 @@ CONFLICTS= slffea-* swi-pl-*
FREETYPE_CONFIG?= ${LOCALBASE}/bin/freetype-config
-USE_XPM= yes
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \
LOCALEOBJ="localef.o" LOCALE_FLAG="-DLOCALE" \
MING="-L${LOCALBASE}/lib -lming" \
@@ -39,6 +38,13 @@ MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}" \
GDFREETYPE="-DGDFREETYPE" PREFABS_DIR="${DATADIR}"
ALL_TARGET= plgd18
+.ifdef WITHOUT_X11
+MAKE_ARGS+= NOXFLAG=-DNOX11 XLIBS= XOBJ=
+PKGNAMESUFFIX= -nox11
+.else
+USE_XPM= yes
+.endif
+
MAN1= pl.1
do-install: