1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/security/pam_mkhomedir/Makefile
Sergey Matveychuk 7a17fbe604 - Was marked as unmaintained by accident.
So set MAINTAINER to the port submitter.

Submitted by:	niels
2005-07-10 14:13:00 +00:00

58 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.1
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= Only for 5.0 and above
.endif
.if defined(WITH_PROFILE)
PLIST_SUB+= PROFILE=""
MAKE_ARGS+= PROFILE=yes
WITH_STATIC= yes
.else
PLIST_SUB+= PROFILE="@comment "
MAKE_ARGS+= NOPROFILE=yes
.endif
.if defined(WITH_STATIC)
PLIST_SUB+= NOSTATIC=""
.else
MAKE_ARGS+= NOINSTALLLIB=yes
PLIST_SUB+= NOSTATIC="@comment "
.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.post.mk>