diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 03:50:21 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-06-07 03:50:21 +0000 |
commit | d7982d227f47cdf18abe39fb3a1499accc7aa17a (patch) | |
tree | bf3d577fa92d99b58951a4288d5e884dc1afecfa /www/mod_auth_pam2 | |
parent | bf5448655c6db8bf9f06d210ac9c2ee4be2a71cf (diff) | |
download | ports-d7982d227f47cdf18abe39fb3a1499accc7aa17a.tar.gz ports-d7982d227f47cdf18abe39fb3a1499accc7aa17a.zip |
- Convert to PORTDOCS/PORTEXAMPLES
- Pet portlint
Notes
Notes:
svn path=/head/; revision=255981
Diffstat (limited to 'www/mod_auth_pam2')
-rw-r--r-- | www/mod_auth_pam2/Makefile | 11 | ||||
-rw-r--r-- | www/mod_auth_pam2/pkg-plist | 6 |
2 files changed, 8 insertions, 9 deletions
diff --git a/www/mod_auth_pam2/Makefile b/www/mod_auth_pam2/Makefile index 16b812fd93ce..50e2d1a1f21a 100644 --- a/www/mod_auth_pam2/Makefile +++ b/www/mod_auth_pam2/Makefile @@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}-2.0-${PORTVERSION} MAINTAINER= apache@FreeBSD.org COMMENT= Allows users to use PAM modules for user authentication -MAKE_JOBS_SAFE= yes +MAKE_JOBS_SAFE= yes LATEST_LINK= mod_auth_pam2 @@ -25,11 +25,16 @@ USE_GMAKE= YES MAKE_ENV+= APXS=${APXS} WRKSRC= ${WRKDIR}/${PORTNAME} +PORTDOCS= *.html +PORTEXAMPLES= pam-httpd.sample + post-install: - ${MKDIR} ${EXAMPLESDIR} +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EXAMPLESDIR}/pam-httpd.sample +.endif .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/ .endif diff --git a/www/mod_auth_pam2/pkg-plist b/www/mod_auth_pam2/pkg-plist index 51652e8b8e4b..10c6ff86d200 100644 --- a/www/mod_auth_pam2/pkg-plist +++ b/www/mod_auth_pam2/pkg-plist @@ -1,11 +1,5 @@ -%%PORTDOCS%%%%DOCSDIR%%/configure.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html -%%PORTDOCS%%%%DOCSDIR%%/install.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% %%APACHEMODDIR%%/mod_auth_pam.so @exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f %%APACHEMODDIR%%/mod_auth_sys_group.so @exec %D/sbin/apxs -e -a -n auth_sys_group %D/%f -%%EXAMPLESDIR%%/pam-httpd.sample -@dirrm %%EXAMPLESDIR%% @unexec echo "===> If you do not plan on reinstalling mod_auth_pam, you must manually remove"; echo "===> references to it in httpd.conf." |