openbsd-ports/mail/cucipop/Makefile
david f85600afe0 move any perl or sed substitutions from post-patch to pre-configure
(fixes make update-patches)
ok sturm@; "looks reasonable" steven@
2006-02-08 04:54:48 +00:00

35 lines
865 B
Makefile

# $OpenBSD: Makefile,v 1.20 2006/02/08 04:54:49 david 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>