openbsd-ports/mail/cucipop/Makefile

35 lines
861 B
Makefile

# $OpenBSD: Makefile,v 1.21 2007/09/16 00:17:04 merdely Exp $
COMMENT= Cubic Circle's POP3 daemon
DISTNAME= cucipop-1.31
CATEGORIES= mail
MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= cucipop-1.31-v6-20010223.diff.gz:0
PATCH_DIST_STRIP= -p1
PERMIT_PACKAGE_CDROM= no fee
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= no fee
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MAKE_FLAGS= CFLAGS="${CFLAGS} -DINET6" LDFLAGS="" MD5_OBJ=""
pre-configure:
.for f in cucipop.8 makevpopdb.8
@cd ${WRKSRC} && sed -e s#!!PREFIX!!#${PREFIX}#g ${f} > ${f}.new && \
mv ${f}.new ${f}
.endfor
NO_REGRESS= Yes
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} cucipop makevpopdb ${PREFIX}/libexec
cd ${WRKSRC}; ${INSTALL_MAN} cucipop.8 makevpopdb.8 ${PREFIX}/man/man8
.include <bsd.port.mk>