diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-09-16 17:01:24 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-09-16 17:01:24 +0000 |
commit | 120871034f8f414c751e41e4b8672c1ae4e9b0a8 (patch) | |
tree | 7e279a950994dae7acafd948317e11c8fcb23101 /misc | |
parent | da7887ff12259259f46e88e5e000b857f24ba4ef (diff) | |
download | ports-120871034f8f414c751e41e4b8672c1ae4e9b0a8.tar.gz ports-120871034f8f414c751e41e4b8672c1ae4e9b0a8.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/magicpoint/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile index 289f929a51d3..f7a680efbb98 100644 --- a/misc/magicpoint/Makefile +++ b/misc/magicpoint/Makefile @@ -24,11 +24,6 @@ WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-vflib --enable-locale -OPTIONS+= FREETYPE "With FreeType support" on \ - XFT "With Xft2 support" on \ - GIF "With gif image support" off \ - IMLIB "With Imlib exclusive image processing" off - MAN1= mgp.1 mgp2ps.1 mgpembed.1 mgpnet.1 xwintoppm.1 xmindpath.1 PORTDOCS= ${DOCS} sample emacs-lisp scripts @@ -46,9 +41,14 @@ EMACS_LISPS= mgp-mode.el EMACS_LISPS_MGP=COPYING README mgp.el mgp.sty sample.tex SAMPLE_SCRIPTS= eqn2eps.sh tex2eps.sh mgp2html.pl mgp2latex.pl -.include <bsd.port.pre.mk> -.if defined(WITH_FREETYPE) +OPTIONS_DEFINE=FREETYPE XFT GIF IMLIB +OPTIONS_DEFAULT=FREETYPE XFT +NO_OPTIONS_SORT=yes + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MFREETYPE} # Only freetype 1.x is supported USE_FREETYPE= yes CONFIGURE_ARGS+= --enable-freetype \ @@ -57,14 +57,14 @@ CONFIGURE_ARGS+= --enable-freetype \ CONFIGURE_ARGS+= --disable-freetype .endif -.if defined(WITH_XFT) +.if ${PORT_OPTIONS:MXFT} USE_XORG+= xft CONFIGURE_ARGS+= --enable-xft2 .else CONFIGURE_ARGS+= --disable-xft2 .endif -.if defined(WITH_GIF) +.if ${PORT_OPTIONS:MGIF} LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib CONFIGURE_ARGS+= --enable-gif CFLAGS+= -I${LOCALBASE}/include @@ -72,7 +72,7 @@ CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --disable-gif .endif -.if defined(WITH_IMLIB) +.if ${PORT_OPTIONS:MIMLIB} USE_GNOME= imlib CONFIGURE_ARGS+= --enable-imlib .else @@ -113,4 +113,4 @@ post-install: ${INSTALL_SCRIPT} ${SAMPLE_SCRIPTS} ${DOCSDIR}/scripts/ .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |