aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xplanet
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-06 03:41:43 +0800
committerpav <pav@FreeBSD.org>2004-11-06 03:41:43 +0800
commit32ee92510980a75c866a5dd46dbb63581a8af140 (patch)
tree1888eb8bf0713fa77463182f206e8f43d3da6bf1 /astro/xplanet
parenta654604002fd959f4aa07df83aedccf3e14312ac (diff)
downloadfreebsd-ports-gnome-32ee92510980a75c866a5dd46dbb63581a8af140.tar.gz
freebsd-ports-gnome-32ee92510980a75c866a5dd46dbb63581a8af140.tar.zst
freebsd-ports-gnome-32ee92510980a75c866a5dd46dbb63581a8af140.zip
- Use OPTIONS
PR: ports/73457 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> (maintainer)
Diffstat (limited to 'astro/xplanet')
-rw-r--r--astro/xplanet/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/astro/xplanet/Makefile b/astro/xplanet/Makefile
index 007ed93e6f7b..a8996b79e35c 100644
--- a/astro/xplanet/Makefile
+++ b/astro/xplanet/Makefile
@@ -16,13 +16,25 @@ COMMENT= Draw pictures of the earth textured by an image
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+USE_GNOME= #
CONFIGURE_ARGS= --with-map-extension=jpg
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm"
PLIST_FILES= bin/xplanet
+
+OPTIONS= FREETYPE "Enable Freetype support" on \
+ PANGO "Enable PANGO support" on \
+ GIF "Enable GIF support" on \
+ JPEG "Enable JPEG support" on \
+ PNG "Enable PNG support" on \
+ PNM "Enable PNM support" on \
+ TIFF "Enable TIFF support" on
+
MAN1= xplanet.1
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_FREETYPE)
CONFIGURE_ARGS+= --with-freetype
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
@@ -82,4 +94,4 @@ post-install:
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>