32 lines
852 B
Makefile
32 lines
852 B
Makefile
# $OpenBSD: Makefile,v 1.17 2002/03/21 21:09:17 espie Exp $
|
|
|
|
COMMENT= "Cubic Circle's POP3 daemon"
|
|
|
|
DISTNAME= cucipop-1.31
|
|
CATEGORIES= mail
|
|
NEED_VERSION= 1.515
|
|
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
|
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -DINET6" LDFLAGS="" MD5_OBJ=""
|
|
|
|
post-patch:
|
|
.for f in cucipop.8 makevpopdb.8
|
|
@cd ${WRKSRC} && sed -e s#!!PREFIX!!#${PREFIX}#g ${f} > ${f}.new && \
|
|
mv ${f}.new ${f}
|
|
.endfor
|
|
|
|
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>
|