aboutsummaryrefslogtreecommitdiff
path: root/editors/texmacs
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-13 07:47:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-13 07:47:28 +0000
commit9324dfcd05515ff1ae290641583c327867355063 (patch)
tree5e49f844ada334f12d02a71f7b333bae8d1b3602 /editors/texmacs
parenta1372253c9e77321d60433d466efe9d32b85107b (diff)
downloadports-9324dfcd05515ff1ae290641583c327867355063.tar.gz
ports-9324dfcd05515ff1ae290641583c327867355063.zip
Notes
Diffstat (limited to 'editors/texmacs')
-rw-r--r--editors/texmacs/Makefile28
1 files changed, 11 insertions, 17 deletions
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile
index 86874a94d58d..4e85e125e5cb 100644
--- a/editors/texmacs/Makefile
+++ b/editors/texmacs/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: texmacs
-# Date created: 1 December 2001
-# Whom: Geoffrey Mainland <mainland@apeiron.net>
-#
+# Created by: Geoffrey Mainland <mainland@apeiron.net>
# $FreeBSD$
-#
PORTNAME= texmacs
PORTVERSION= 1.0.7.14
@@ -37,12 +33,10 @@ DATADIR= ${PREFIX}/share/TeXmacs
MAN1= texmacs.1 fig2ps.1
MANCOMPRESSED= yes
-OPTIONS= FREETYPE "FreeType support" ON \
- GHOSTSCRIPT "Ghostscript support" ON \
- ICONV "Iconv support" ON \
- IMLIB2 "Use imlib2" ON \
- PDF "Experimental PDF renderer" OFF \
- QT4 "QT4 GUI" ON
+OPTIONS_DEFINE= FREETYPE GHOSTSCRIPT ICONV IMLIB2 PDF QT4
+OPTIONS_DEFAULT= FREETYPE GHOSTSCRIPT ICONV IMLIB2 QT4
+GHOSTSCRIPT_DESC= Ghostscript support
+PDF_DESC= Experimental PDF renderer
DESKTOP_ENTRIES= "TeXmacs" "${COMMENT}" \
"${DATADIR}/misc/pixmaps/TeXmacs.xpm" "texmacs" \
@@ -50,39 +44,39 @@ DESKTOP_ENTRIES= "TeXmacs" "${COMMENT}" \
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_FREETYPE)
+.if ${PORT_OPTIONS:MFREETYPE}
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+= --with-freetype=linked
.else
CONFIGURE_ARGS+= --without-freetype
.endif
-.if !defined(WITHOUT_GHOSTSCRIPT)
+.if ${PORT_OPTIONS:MGHOSTSCRIPT}
USE_GHOSTSCRIPT= yes
CONFIGURE_ARGS+= --with-gs=yes
.else
CONFIGURE_ARGS+= --without-gs
.endif
-.if !defined(WITHOUT_ICONV)
+.if ${PORT_OPTIONS:MICONv}
USE_ICONV= yes
CONFIGURE_ARGS+= --with-iconv="${LOCALBASE}"
.else
CONFIGURE_ARGS+= --without-iconv
.endif
-.if !defined(WITHOUT_IMLIB2)
+.if ${PORT_OPTIONS:MIMLIB2}
USE_EFL= imlib2
CONFIGURE_ARGS+= --with-imlib2
.else
CONFIGURE_ARGS+= --without-imlib
.endif
-.if !defined(WITHOUT_PDF)
+.if ${PORT_OPTIONS:MPDF}
CONFIGURE_ARGS+= --enable-pdf-renderer
.endif
-.if !defined(WITHOUT_QT4)
+.if ${PORT_OPTIONS:MQT4}
USE_QT4= gui moc_build qmake_build rcc uic_build
CONFIGURE_ARGS+= --with-qt --enable-qtpipes
.else