freebsd-ports/mail/popular/Makefile
Li-Wen Hsu 5fe304a328 mail/popular: Prepare for textproc/p5-XML-Parser update
Also:
- Bump PORTREVISION
- Skip build of man pages, which are already present in the distribution
- Add LICENSE
- Add USE_LDCONFIG
- Regenerate patches to follow the standard
- Pass maintainership to the submitter

PR:		248725
Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com>
2020-08-19 13:17:38 +00:00

40 lines
1.2 KiB
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= popular
PORTVERSION= 1.5.5
PORTREVISION= 8
CATEGORIES= mail
MASTER_SITES= https://www.jochentopf.com/software/popular/
MAINTAINER= svysh.fbsd@gmail.com
COMMENT= Suite of programs for setting up large POP3 server systems
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-DOM>=0:textproc/p5-XML-DOM
USES= libtool perl5 gmake tar:bzip2 ssl
CONFLICTS= pserv-[0-9]* synce-librapi2-[0-9]*
CONFLICTS_INSTALL= ports-tools # bin/pcheck
GNU_CONFIGURE= yes
PDM_MODULES= any master
CONFIGURE_ARGS= --without-bdb --disable-docbook --with-confdir=${PREFIX}/etc/popular \
--enable-ssl --with-pdm="${PDM_MODULES}"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
USE_RC_SUBR= pcheckd pproxy pserv 0ringd
USE_LDCONFIG= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/popular/*.so
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/conf/pproxy.rc ${STAGEDIR}${ETCDIR}/pproxy.rc.sample
${INSTALL_DATA} ${WRKSRC}/conf/pserv.rc ${STAGEDIR}${ETCDIR}/pserv.rc.sample
@${MKDIR} ${STAGEDIR}${PREFIX}/include/popular
${FIND} ${WRKSRC}/src -name *.h | ${XARGS} -n 1 -J % ${INSTALL_DATA} % \
${STAGEDIR}${PREFIX}/include/popular
.include <bsd.port.mk>