openbsd-ports/mail/cucipop/Makefile
jasper 278e3cc0b0 Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.

ok aja@
2011-05-11 12:57:47 +00:00

37 lines
888 B
Makefile

# $OpenBSD: Makefile,v 1.23 2011/05/11 12:57:47 jasper Exp $
COMMENT= Cubic Circle's POP3 daemon
DISTNAME= cucipop-1.31
REVISION= 0
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=""
USE_GROFF = Yes
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>