1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/security/pam_mkhomedir/Makefile
Renato Botelho 33eb8265b1 - Update to 0.2 to fix build on 9-current (utmp)
- Remove 4 lines pkg-plist

PR:		ports/143482
Submitted by:	maintainer
2010-02-08 11:33:54 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: pam_mkhomedir
# Date created: 08 June 2005
# Whom: Martin Mersberger
#
# $FreeBSD$
#
PORTNAME= pam_mkhomedir
PORTVERSION= 0.2
CATEGORIES= security
MASTER_SITES= http://portal-to-web.de/pam_mkhomedir/
MAINTAINER= gremlin@portal-to-web.de
COMMENT= Create HOME with a PAM module on demand
MANCOMPRESSED= yes
MAN8= pam_mkhomedir.8
SUB_FILES= pkg-message
PLIST_FILES= lib/pam_mkhomedir.so \
lib/pam_mkhomedir.so.2
.if defined(WITH_PROFILE)
PLIST_FILES+= lib/libpam_mkhomedir_p.a
MAKE_ARGS+= PROFILE=yes
WITH_STATIC= yes
.else
MAKE_ARGS+= NO_PROFILE=yes
.endif
.if defined(WITH_STATIC)
PLIST_FILES+= lib/libpam_mkhomedir.a
.else
MAKE_ARGS+= NO_INSTALLLIB=yes
.endif
pre-everything::
.if !defined(WITH_PROFILE) || !defined(WITH_STATIC)
@${ECHO_CMD} ""
@${ECHO_CMD} "All definable build options"
@${ECHO_CMD} "---------------------------"
@${ECHO_CMD} ""
@${ECHO_CMD} "WITH_PROFILE=yes Build with static lib with profile"
@${ECHO_CMD} "WITH_STATIC=yes Build with static lib"
@${ECHO_CMD} ""
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>