mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
0bc41e9815
ecosystem maintainers makes this not a viable mail system today. Personally I am moving to postfix and have so far found it incredibly easy to setup and already prefer it over qmail.
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= queue-fix
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.netmeridian.com/e-huss/ \
|
|
GENTOO
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Repairs or generates a qmail queue structure
|
|
|
|
USES= qmail:run
|
|
|
|
PREFIX?= ${QMAIL_PREFIX}
|
|
|
|
OPTIONS_DEFINE= DOCS BIG_TODO
|
|
|
|
BIG_TODO_DESC= Use big_todo patch
|
|
|
|
CONFIGURE_SCRIPT=
|
|
ALL_TARGET=
|
|
|
|
PLIST_FILES= bin/queue-fix
|
|
|
|
PORTDOCS= README
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if (${PREFIX} == ${LOCALBASE})
|
|
DOCSDIR= ${PREFIX}/share/doc/qmail/queue-fix
|
|
.else
|
|
DOCSDIR= ${PREFIX}/doc/queue-fix
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MBIG_TODO}
|
|
PATCH_SITES+= http://www.qmail.org/
|
|
PATCHFILES+= queue-fix-todo.patch
|
|
PATCH_DIST_STRIP+= -p1
|
|
.endif
|
|
|
|
post-patch:
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${STAGEDIR}${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|