diff options
author | danfe <danfe@FreeBSD.org> | 2005-03-20 20:11:23 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-03-20 20:11:23 +0800 |
commit | d318de33f4fb89bc486f8a7c35769edc61e7d3fa (patch) | |
tree | 08dd30ede4017d6749acadddfb2a71e969c35e4d /editors/tea | |
parent | 4566181a0ad98f1a8c93aa9c8fa3ef053913d3c3 (diff) | |
download | freebsd-ports-graphics-d318de33f4fb89bc486f8a7c35769edc61e7d3fa.tar.gz freebsd-ports-graphics-d318de33f4fb89bc486f8a7c35769edc61e7d3fa.tar.zst freebsd-ports-graphics-d318de33f4fb89bc486f8a7c35769edc61e7d3fa.zip |
Convert to OPTIONS.
Diffstat (limited to 'editors/tea')
-rw-r--r-- | editors/tea/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/editors/tea/Makefile b/editors/tea/Makefile index 31f16ca2c68..4c500c5e31d 100644 --- a/editors/tea/Makefile +++ b/editors/tea/Makefile @@ -14,10 +14,6 @@ DISTNAME= ${PORTNAME} MAINTAINER= jylefort@brutele.be COMMENT= A simple and powerful GTK+ text editor -.if defined(WITH_ASPELL) -LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell -.endif - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_X_PREFIX= yes @@ -29,13 +25,16 @@ USE_GNOME= gtk20 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -pre-everything:: -.if !defined(WITH_ASPELL) - @${ECHO_MSG} "Define WITH_ASPELL to build with aspell support" +OPTIONS= ASPELL "Build with GNU aspell support" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_ASPELL) +LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell .endif post-patch: @${REINPLACE_CMD} -e 's|/tea/doc/|/doc/tea/|' \ ${WRKSRC}/src/tea_defs.h -.include <bsd.port.mk> +.include <bsd.port.post.mk> |