mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
a134635edc
their package. Recent development of the software has a new branch and hence the gps-maintain.pl provided on the website is changed to fit latest development version. PR: 78268 Submitted by: delphij (maintainer)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: postfix-gps
|
|
# Date created: 2 September 2004
|
|
# Whom: Xin LI <delphij@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gps
|
|
PORTVERSION= 0.93
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail security
|
|
MASTER_SITES= http://mimo.gn.apc.org/gps/
|
|
PKGNAMEPREFIX= postfix-
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= delphij@FreeBSD.org
|
|
COMMENT= Greylist Policy Service for postfix
|
|
|
|
LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/dbd:${PORTSDIR}/databases/libdbi-drivers
|
|
|
|
SCRIPT_FILES= gps-maintain.pl gps-db-update.pl
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_AUTOCONF_VER= 259
|
|
USE_AUTOMAKE_VER= 19
|
|
USE_GCC= 3.4
|
|
CONFIGURE_ARGS= --bindir=${PREFIX}/libexec --includedir=${PREFIX}/include
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" \
|
|
CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include" \
|
|
LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${ACLOCAL}
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/etc/gps.conf ${PREFIX}/etc/gps.conf-dist
|
|
.for f in ${SCRIPT_FILES}
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/libexec
|
|
.endfor
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|