diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2004-06-09 19:09:27 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2004-06-09 19:09:27 +0000 |
commit | 4168351ddee559911bb91a2f7944d210b6b40e19 (patch) | |
tree | 4b48807924ddc1a25df9f23d9b7839d76bc06590 /textproc/enchant | |
parent | 26ab926b66136601ff26d2c32964e825387e492c (diff) | |
download | ports-4168351ddee559911bb91a2f7944d210b6b40e19.tar.gz ports-4168351ddee559911bb91a2f7944d210b6b40e19.zip |
Notes
Diffstat (limited to 'textproc/enchant')
-rw-r--r-- | textproc/enchant/Makefile | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile index ad9f65f3c4b1..4bf292e5e5ae 100644 --- a/textproc/enchant/Makefile +++ b/textproc/enchant/Makefile @@ -7,7 +7,7 @@ PORTNAME= enchant PORTVERSION= 1.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= abiword @@ -25,23 +25,19 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= enchant.1 -.include <bsd.port.pre.mk> - -.if exists(${LOCALBASE}/lib/libpspell.so) -WITH_ASPELL= yes -.endif - -.if exists(${LOCALBASE}/bin/hspell) -WITH_HSPELL= yes -.endif - -.if defined(WITH_ASPELL) +.ifndef(WITHOUT_ASPELL) LIB_DEPENDS+= pspell.15:${PORTSDIR}/textproc/aspell PLIST_SUB+= ASPELL="" .else PLIST_SUB+= ASPELL="@comment " .endif +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/bin/hspell) +WITH_HSPELL= yes +.endif + .if defined(WITH_HSPELL) BUILD_DEPENDS+= hspell:${PORTSDIR}/hebrew/hspell PLIST_SUB+= HSPELL="" @@ -50,11 +46,11 @@ PLIST_SUB+= HSPELL="@comment " .endif pre-everything:: -.if !defined(WITH_ASPELL) || !defined(WITH_HSPELL) +.if !defined(WITHOUT_ASPELL) || !defined(WITH_HSPELL) @${ECHO_CMD} '===> The following options are available for this port:' -.if !defined(WITH_ASPELL) +.if !defined(WITHOUT_ASPELL) @${ECHO_CMD} '===>' - @${ECHO_CMD} '===> Define WITH_ASPELL to enable aspell support' + @${ECHO_CMD} '===> Define WITHOUT_ASPELL to disable aspell support' .endif .if !defined(WITH_HSPELL) @${ECHO_CMD} '===>' |