diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-23 18:53:13 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-23 18:53:13 +0000 |
commit | bcd9bf454e8af51513c8636c0c1d8df5b92d9dcf (patch) | |
tree | ae6374dd9142404c8f34aec8f4035c2ef9f78a54 /www/mod_limitipconn2 | |
parent | d79eab049ed2538623ef717a223a236d0dc7e300 (diff) | |
download | ports-bcd9bf454e8af51513c8636c0c1d8df5b92d9dcf.tar.gz ports-bcd9bf454e8af51513c8636c0c1d8df5b92d9dcf.zip |
Notes
Diffstat (limited to 'www/mod_limitipconn2')
-rw-r--r-- | www/mod_limitipconn2/Makefile | 17 | ||||
-rw-r--r-- | www/mod_limitipconn2/pkg-plist | 8 |
2 files changed, 9 insertions, 16 deletions
diff --git a/www/mod_limitipconn2/Makefile b/www/mod_limitipconn2/Makefile index eb6024212f87..16c949e42f9c 100644 --- a/www/mod_limitipconn2/Makefile +++ b/www/mod_limitipconn2/Makefile @@ -7,6 +7,7 @@ PORTNAME= mod_limitipconn PORTVERSION= 0.23 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://dominia.org/djao/limit/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} @@ -15,25 +16,25 @@ DIST_SUBDIR= apache2 MAINTAINER= ychsiao@ychsiao.org COMMENT= Allows you to limit the number of simultaneous connexions -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes LATEST_LINK= mod_limitipconn2 USE_APACHE= 2.0+ USE_BZIP2= YES -PORTDOCS= ChangeLog INSTALL README +AP_AST_BUILD= yes +AP_GENPLIST= yes -do-build: - @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c) +PLIST_FILES+= ${APACHEMODDIR}/${PORTNAME}.so -do-install: - @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la) +PORTDOCS= ChangeLog INSTALL README +post-install: .if !defined (NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR}/ . for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ . endfor .endif diff --git a/www/mod_limitipconn2/pkg-plist b/www/mod_limitipconn2/pkg-plist deleted file mode 100644 index c04317aac6ca..000000000000 --- a/www/mod_limitipconn2/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -%%APACHEMODDIR%%/%%AP_MODULE%% -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/README -@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f -@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f -@unexec echo "===> If you do not plan on reinstalling mod_limitipconn, you must manually remove"; echo "===> references to it in httpd.conf." -%%PORTDOCS%%@dirrm %%DOCSDIR%% |