blob: ccee49575a4b3cbcff2f1a67e5d0cde34757461c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: queue-fix
# Date created: 2005-04-14
# Whom: Renato Botelho <freebsd@galle.com.br>
#
# $FreeBSD$
#
PORTNAME= queue-fix
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.netmeridian.com/e-huss/
MAINTAINER= garga@FreeBSD.org
COMMENT= Repairs or generates a qmail queue structure
USE_QMAIL_RUN= yes
PREFIX?= ${QMAIL_PREFIX}
OPTIONS= BIG_TODO "Use big_todo patch" off
CONFIGURE_SCRIPT=
ALL_TARGET=
PLIST_SUB= DOCDIR=${DOCDIR}
PLIST_FILES= bin/queue-fix
.if !defined(NOPORTDOCS)
PLIST_FILES+= %%DOCDIR%%/README
PLIST_DIRS+= %%DOCDIR%%
.endif
.include <bsd.port.pre.mk>
.if (${PREFIX} == ${LOCALBASE})
DOCDIR= share/doc/qmail/queue-fix
.else
DOCDIR= doc/queue-fix
.endif
.if defined(WITH_BIG_TODO)
PATCH_SITES+= http://www.qmail.org/
PATCHFILES+= queue-fix-todo.patch
PATCH_DIST_STRIP+= -p1
.endif
do-install:
@${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/queue-fix ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/${DOCDIR}
.endif
.include <bsd.port.post.mk>
|