openbsd-ports/mail/solid-pop3d/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

40 lines
931 B
Makefile

# $OpenBSD: Makefile,v 1.23 2011/05/11 12:57:48 jasper Exp $
COMMENT= flexible POP3 server
VERSION= 0.15
DISTNAME= solid-pop3d-${VERSION}
REVISION = 5
CATEGORIES= mail
MASTER_SITES= ftp://dione.ids.pl/pub/solidpop3d/
HOMEPAGE= http://solidpop3d.pld.org.pl/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
FLAVORS= apop
FLAVOR?=
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --localstatedir="/var/spool/spop3d" \
--mandir="${PREFIX}/man" \
--enable-last --enable-bulletins --enable-nonip \
--enable-ipv6 --enable-resolve --enable-connect \
--enable-logextend --enable-statistics
USE_GROFF = Yes
NO_REGRESS= Yes
# enable support for APOP authentication.
.if ${FLAVOR:L:Mapop}
CONFIGURE_ARGS+= --enable-userconfig --enable-apop
.else
CONFIGURE_ARGS+= --disable-userconfig --disable-apop
.endif
.include <bsd.port.mk>