freebsd-ports/security/pam-pgsql/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

35 lines
726 B
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= pam-pgsql
PORTVERSION= 0.7.3.1
CATEGORIES= security databases
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.7/
MAINTAINER= berend@pobox.com
COMMENT= PAM module for authenticating with PostgreSQL
LICENSE= GPLv2
LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash \
gcrypt:${PORTSDIR}/security/libgcrypt
USE_PGSQL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=/usr/lib
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGELOG ${DOCSDIR}
.endif
.include <bsd.port.mk>