aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:54:45 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 22:54:45 +0000
commit313948f537062188f3a30869c808e8248cc35e58 (patch)
tree5c5bbc67c9204163cdfa661a02782ada3575497a /x11
parent696d2fe96829fb2bebfec37324ce498410a06d0c (diff)
downloadports-313948f537062188f3a30869c808e8248cc35e58.tar.gz
ports-313948f537062188f3a30869c808e8248cc35e58.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/ggiterm/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/x11/ggiterm/Makefile b/x11/ggiterm/Makefile
index ab3daf02a6aa..7634ca13ed21 100644
--- a/x11/ggiterm/Makefile
+++ b/x11/ggiterm/Makefile
@@ -17,10 +17,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A terminal emulator for GGI
LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi
-.if !defined(WITHOUT_FREETYPE)
-LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
-USE_ICONV= yes
-.endif
USE_GMAKE= yes
USE_X_PREFIX= yes
@@ -28,25 +24,17 @@ INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ggi=${LOCALBASE}
-.if !defined(WITHOUT_FREETYPE)
-CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
-.endif
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-pre-everything::
+OPTIONS= FREETYPE "Build with Freetype support" on
+
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_FREETYPE)
- @${ECHO_MSG} ""
- @${ECHO_MSG} "ggiterm can be built without Freetype support. However, as the author says,"
- @${ECHO_MSG} "'if you don't have freetype you lose much of the ggiterm reason for being,'"
- @${ECHO_MSG} "so you probably don't want this. If you do, cancel now and build with:"
- @${ECHO_MSG} " WITHOUT_FREETYPE=yes"
- @${ECHO_MSG} ""
-.else
- @${ECHO_MSG} ""
- @${ECHO_MSG} "You have chosen to build ggiterm without Freetype. If this wasn't your"
- @${ECHO_MSG} "intention, cancel now and unset the 'WITHOUT_FREETYPE' variable."
- @${ECHO_MSG} ""
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+USE_ICONV= yes
+CONFIGURE_ARGS+=--with-ft-prefix=${LOCALBASE}
.endif
post-install:
@@ -56,4 +44,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>