2001-02-27 00:09:21 +01:00
|
|
|
# New ports collection makefile for: pam-pgsql
|
|
|
|
# Date created: Nov 16, 2000
|
|
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pam-pgsql
|
|
|
|
PORTVERSION= 0.3
|
2001-04-21 13:43:12 +02:00
|
|
|
PORTREVISION= 1
|
2001-02-27 00:09:21 +01:00
|
|
|
CATEGORIES= security databases
|
2001-07-09 23:17:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN}
|
|
|
|
MASTER_SITE_SUBDIR= pool/main/p/pam-pgsql
|
2001-02-27 00:09:21 +01:00
|
|
|
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
|
2001-04-21 13:43:12 +02:00
|
|
|
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
|
2001-02-27 00:09:21 +01:00
|
|
|
|
2001-07-09 23:17:29 +02:00
|
|
|
# When the family of Debian mirrors is added to bsd.port.mk,
|
|
|
|
# this will suddenly start making sense:
|
|
|
|
MASTER_SITE_DEBIAN?= http://ftp.debian.org/debian/%SUBDIR%/
|
|
|
|
# This should help the users of MASTER_SORT_REGEX:
|
|
|
|
.for c in at bg br cz de ee es fi fr hu it jp kr nl no nz pl se si tr uk
|
|
|
|
MASTER_SITES_DEBIAN+= http://ftp.$c.debian.org/debian/%SUBDIR%/
|
|
|
|
.endfor
|
|
|
|
MASTER_SITES_DEBIAN+= http://ftp.au.debian.org/pub/debian/%SUBDIR%/ \
|
|
|
|
ftp://ftp.bora.net/pub/linux/debian/%SUBDIR%/
|
|
|
|
|
2001-02-27 00:09:21 +01:00
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
MAKE_ARGS+= -j 2
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-03-30 20:20:29 +02:00
|
|
|
@${MKDIR} ${LOCALBASE}/${DOCDIR}
|
2001-02-27 00:09:21 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/debian/changelog \
|
2001-03-30 20:20:29 +02:00
|
|
|
${WRKSRC}/debian/copyright ${LOCALBASE}/${DOCDIR}
|
2001-02-27 00:09:21 +01:00
|
|
|
|
2001-03-30 20:20:29 +02:00
|
|
|
DOCDIR= share/doc/pam-pgsql
|
|
|
|
PLIST_SUB+= DOCDIR=${DOCDIR}
|
2001-02-27 00:09:21 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|