aboutsummaryrefslogtreecommitdiff
path: root/security/pam_kde/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2014-02-18 14:23:03 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2014-02-18 14:23:03 +0000
commite9c34f4c34b0640b3613f03cd96e9f19730b2a07 (patch)
treeef2b2b24dfacf6def95c54d3379c421565b1fe2b /security/pam_kde/Makefile
parent4dc7ccc95d370549c7c9c7c9c253d64aa92881ae (diff)
Notes
Diffstat (limited to 'security/pam_kde/Makefile')
-rw-r--r--security/pam_kde/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/security/pam_kde/Makefile b/security/pam_kde/Makefile
index ed88d963e5d6..fdd0b91d502c 100644
--- a/security/pam_kde/Makefile
+++ b/security/pam_kde/Makefile
@@ -3,7 +3,6 @@
PORTNAME= pam_kde
PORTVERSION= 1.0
CATEGORIES= security kde
-MASTER_SITES= # empty
DISTFILES= # none
MAINTAINER= kde@FreeBSD.org
@@ -16,18 +15,9 @@ PLIST_FILES= etc/pam.d/kde
OPTIONS_DEFINE= AUTOLOGIN
OPTIONS_DEFAULT= AUTOLOGIN
AUTOLOGIN_DESC= Install module for automatic login
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MAUTOLOGIN}
-PLIST_FILES+= etc/pam.d/kde-np
-.endif
+AUTOLOGIN_PLIST_FILES= etc/pam.d/kde-np
do-install:
- ${INSTALL_DATA} ${FILESDIR}/kde ${PREFIX}/etc/pam.d
-.if ${PORT_OPTIONS:MAUTOLOGIN}
- ${INSTALL_DATA} ${FILESDIR}/kde-np ${PREFIX}/etc/pam.d
-.endif
+ ${INSTALL_DATA} ${PLIST_FILES:S,etc/pam.d,${FILESDIR},} ${STAGEDIR}${PREFIX}/etc/pam.d
.include <bsd.port.mk>