diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-08-07 10:53:31 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-08-07 10:53:31 +0000 |
commit | d057aa8452e5e08baf125f5ad5c9d2c0d9a0c66a (patch) | |
tree | 3c2d9136104a66f1589610160265219603cd2ac5 | |
parent | e405a99797ff7c8e910b67fa28f118d7f7c96f97 (diff) | |
download | ports-d057aa8452e5e08baf125f5ad5c9d2c0d9a0c66a.tar.gz ports-d057aa8452e5e08baf125f5ad5c9d2c0d9a0c66a.zip |
Notes
-rw-r--r-- | www/xshttpd-devel/Makefile | 33 | ||||
-rw-r--r-- | www/xshttpd/Makefile | 29 |
2 files changed, 32 insertions, 30 deletions
diff --git a/www/xshttpd-devel/Makefile b/www/xshttpd-devel/Makefile index 49f4ceb34f72..ae268f42a97f 100644 --- a/www/xshttpd-devel/Makefile +++ b/www/xshttpd-devel/Makefile @@ -13,30 +13,33 @@ DISTNAME= ${PORTNAME}-${DISTVERSION:S/.//} MAINTAINER= johans@FreeBSD.org COMMENT= Webserver with CGI as own user and SSL support +LICENSE= BSD + RUN_DEPENDS= run-mailcap:${PORTSDIR}/misc/mime-support \ ppmtogif:${PORTSDIR}/graphics/netpbm -LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre + +CONFLICTS_INSTALL= xshttpd-[0-9]* publicfile-[0-9]* -CONFLICTS_INSTALL+= xshttpd-[0-9]* publicfile-[0-9]* +USE_BZIP2= yes +USE_OPENSSL= yes +USE_RC_SUBR= xshttpd +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-hier=bsd MAN1= clearxs.1 gfxcount.1 httpd.1 httpdc.1 imagemap.1 \ readxs.1 xschpass.1 xsindex.1 xspasswd.1 MAN5= httpd.conf.5 xsauth.5 xsconf.5 xsscripts.5 xsredir.5 MAN7= httpd_cgi.7 httpd_ssi.7 -USE_OPENSSL= yes -USE_BZIP2= yes -USE_RC_SUBR= xshttpd - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--enable-hier=bsd OPTIONS_DEFINE= LDAP CURL M4_CONFIG PERSISTENT_PERL M4_CONFIG_DESC= Enable m4 configuration preprocessor -PERSISTENT_PERL_DESC= Enable persistent perl interpreter +PERSISTENT_PERL_DESC= Enable persistent Perl interpreter -PORTDOCS= README COPYING ChangeLog +PORTDOCS= README ChangeLog .include <bsd.port.options.mk> + # By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd WWWDIR?= ${PREFIX}/www/${PORTNAME} @@ -65,7 +68,7 @@ PLIST_SUB+= PERL="@comment " .endif .if ${PORT_OPTIONS:MCURL} -LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl +LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl CONFIGURE_ARGS+=--with-curl .else CONFIGURE_ARGS+=--without-curl @@ -80,13 +83,15 @@ post-patch: ${WRKSRC}/src/constants.h @${REINPLACE_CMD} -e 's|mime.types ||g' \ ${WRKSRC}/config/Makefile.in +# Fix parallel builds (-jX): all programs must depend on the library + @${ECHO_CMD} '$$(bin_PROGRAMS) $$(phexec_PROGRAMS)' \ + '$$(noinst_PROGRAMS): $$(noinst_LIBRARIES)' \ + >> ${WRKSRC}/src/Makefile.in post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/www/xshttpd/Makefile b/www/xshttpd/Makefile index 9e14209be893..5ce6701aa15e 100644 --- a/www/xshttpd/Makefile +++ b/www/xshttpd/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: xshttpd -# Date created: 29 June 2005 -# Whom: Ed Schouten <ed@fxq.nl> -# +# Created by: Ed Schouten <ed@fxq.nl> # $FreeBSD$ -# PORTNAME= xshttpd DISTVERSION= 3.6g01 @@ -16,28 +12,31 @@ DISTNAME= ${PORTNAME}-${DISTVERSION:S/.//} MAINTAINER= johans@FreeBSD.org COMMENT= Webserver with CGI as own user and SSL support +LICENSE= BSD + RUN_DEPENDS= run-mailcap:${PORTSDIR}/misc/mime-support \ ppmtogif:${PORTSDIR}/graphics/netpbm -CONFLICTS_INSTALL+= xshttpd-devel-[0-9]* publicfile-[0-9]* +CONFLICTS_INSTALL= xshttpd-devel-[0-9]* publicfile-[0-9]* + +USE_BZIP2= yes +USE_RC_SUBR= xshttpd +GNU_CONFIGURE= yes MAN1= clearxs.1 gfxcount.1 httpd.1 httpdc.1 imagemap.1 \ readxs.1 xschpass.1 xsindex.1 xspasswd.1 MAN5= httpd.conf.5 xsauth.5 xsconf.5 xsscripts.5 xsredir.5 MAN7= httpd_cgi.7 httpd_ssi.7 -USE_BZIP2= yes -USE_RC_SUBR= xshttpd - -GNU_CONFIGURE= yes OPTIONS_DEFINE= SSL PCRE LDAP CURL M4_CONFIG PERSISTENT_PERL OPTIONS_DEFAULT=SSL PCRE M4_CONFIG_DESC= Enable m4 configuration preprocessor -PERSISTENT_PERL_DESC= Enable persistent perl interpreter +PERSISTENT_PERL_DESC= Enable persistent Perl interpreter -PORTDOCS= README COPYING ChangeLog +PORTDOCS= README ChangeLog .include <bsd.port.options.mk> + # By default XS-HTTPD stores its data in ${PREFIX}/lib/httpd WWWDIR?= ${PREFIX}/www/${PORTNAME} CONFIGURE_ARGS+=--with-rootdir=${WWWDIR} @@ -101,11 +100,9 @@ post-patch: ${WRKSRC}/config/Makefile.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include <bsd.port.mk> |