aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_pam2/Makefile
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2013-12-15 13:54:30 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2013-12-15 13:54:30 +0000
commit5b6e5fe1ae5a614a4cc089705ae23115b43d4667 (patch)
tree8d9d75d320ffc47582311dc1b0da5b8d1dc23099 /www/mod_auth_pam2/Makefile
parent796a75c34a9ff57c87c88a712e1688a786f058fe (diff)
downloadports-5b6e5fe1ae5a614a4cc089705ae23115b43d4667.tar.gz
ports-5b6e5fe1ae5a614a4cc089705ae23115b43d4667.zip
- allow staging
- change to new LIB_DEPENDS notation - s/LATEST_LINK/PKGNAMESUFFIX/ - fix MASTERSITE
Notes
Notes: svn path=/head/; revision=336534
Diffstat (limited to 'www/mod_auth_pam2/Makefile')
-rw-r--r--www/mod_auth_pam2/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/www/mod_auth_pam2/Makefile b/www/mod_auth_pam2/Makefile
index 7aaacdb41344..fe57e27f96c9 100644
--- a/www/mod_auth_pam2/Makefile
+++ b/www/mod_auth_pam2/Makefile
@@ -7,14 +7,12 @@ PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 2
DISTNAME= ${PORTNAME}-2.0-${PORTVERSION}
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows users to use PAM modules for user authentication
-
-LATEST_LINK= mod_auth_pam2
-
USE_APACHE= 22+
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -26,15 +24,10 @@ AP_GENPLIST= yes
AP_EXTRAS+= -lpam
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EXAMPLESDIR}/pam-httpd.sample
-.endif
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${STAGEDIR}${EXAMPLESDIR}/pam-httpd.sample
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>