1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/postfix-gps-devel/Makefile
Simon L. B. Nielsen 3c41dcc16a Update to gps development version 1.004 after repocopy from
ports/mail/postfix-gps.

PR:		ports/81618
Submitted by:	Dennis K Jensen <freebsd@freesbee.dk>
Repocopy by:	marcus
2005-06-12 15:43:00 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: postfix-gps-devel
# Date created: 29 May 2005
# Whom: Dennis K. Jensen <freebsd@signout.dk>
#
# $FreeBSD$
#
PORTNAME= gps
PORTVERSION= 1.004
CATEGORIES= mail security
MASTER_SITES= http://mimo.gn.apc.org/gps/
PKGNAMEPREFIX= postfix-
PKGNAMESUFFIX= -devel
DISTNAME= gps-${PORTVERSION}
MAINTAINER= freebsd@signout.dk
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${LOCALBASE}/include" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/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
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' ${PKGMESSAGE}
.include <bsd.port.mk>