diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-07 12:45:26 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-08-07 12:45:26 +0800 |
commit | 466fecc955c4edadfec86bb995303a05e20a36c0 (patch) | |
tree | ba5799f0b49cd481a7d0b834a53da412ed91ba59 /www/gurlchecker/Makefile | |
parent | ae02cb4fcd9a5e211cbf998df8eec4521072dbe9 (diff) | |
download | marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.gz marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.bz2 marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.lz marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.xz marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.zst marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9365 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/gurlchecker/Makefile')
-rw-r--r-- | www/gurlchecker/Makefile | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/www/gurlchecker/Makefile b/www/gurlchecker/Makefile new file mode 100644 index 000000000..d3a9b02fd --- /dev/null +++ b/www/gurlchecker/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: gURLChecker +# Date created: 06 Jun 2003 +# Whom: Koop Mast <einekoai@chello.nl> +# +# $FreeBSD$ +# + +PORTNAME= gurlchecker +PORTVERSION= 0.10.1 +PORTREVISION= 4 +CATEGORIES= www gnome +MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/%SUBDIR%/ +MASTER_SITE_SUBDIR= 547 + +MAINTAINER= clsung@FreeBSD.org +COMMENT= A Gnome program to check a page/website for broken links + +LIB_DEPENDS= gnet-2.0.0:${PORTSDIR}/net/gnet2 \ + gnutls.13:${PORTSDIR}/security/gnutls + +OPTIONS= CROCO "Use CROCO library for CSS2 validation" off \ + TIDY "Use TIDY library for HTML w3c validation" off \ + CLAMAV "Use CLAMAV library for virii scan" off \ + GNUTLS "Use GNU TLS library for HTTPS check" on + +USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + +.if defined(WITH_CROCO) +LIB_DEPENDS+= croco-0.6.3:${PORTSDIR}/textproc/libcroco +.else +CONFIGURE_ARGS+= --disable-croco +.endif + +.if defined(WITH_TIDY) +LIB_DEPENDS+= tidy-0.99.0:${PORTSDIR}/www/tidy-lib +.else +CONFIGURE_ARGS+= --disable-tidy +.endif + +.if defined(WITH_CLAMAV) +LIB_DEPENDS+= clamav.2:${PORTSDIR}/security/clamav +.else +CONFIGURE_ARGS+= --disable-clamav +.endif + +.if defined(WITHOUT_GNUTLS) +CONFIGURE_ARGS+= --disable-gnutls +.else +LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + '/^SUBDIRS/s|doc ui man|ui|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + 's|-lresolv||g' ${WRKSRC}/src/Makefile.in +.if defined(WITHOUT_NLS) + @${REINPLACE_CMD} -e \ + '/^SUBDIRS/s|po ui|ui|g' ${WRKSRC}/Makefile.in +.endif + +.include <bsd.port.post.mk> |