aboutsummaryrefslogtreecommitdiff
path: root/www/xshttpd-devel
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-07 10:53:31 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-08-07 10:53:31 +0000
commitd057aa8452e5e08baf125f5ad5c9d2c0d9a0c66a (patch)
tree3c2d9136104a66f1589610160265219603cd2ac5 /www/xshttpd-devel
parente405a99797ff7c8e910b67fa28f118d7f7c96f97 (diff)
downloadports-d057aa8452e5e08baf125f5ad5c9d2c0d9a0c66a.tar.gz
ports-d057aa8452e5e08baf125f5ad5c9d2c0d9a0c66a.zip
Notes
Diffstat (limited to 'www/xshttpd-devel')
-rw-r--r--www/xshttpd-devel/Makefile33
1 files changed, 19 insertions, 14 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>