aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail20
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2003-12-19 09:54:18 +0000
committerClement Laforet <clement@FreeBSD.org>2003-12-19 09:54:18 +0000
commita65b264d9b9928417668c66d8422f37b1244fc4e (patch)
tree22890286a0498cd3c6a3e181c6b32f9306d6c0d6 /mail/dbmail20
parent6d775ec8fdd19c67e15bba32327836b472b264d4 (diff)
downloadports-a65b264d9b9928417668c66d8422f37b1244fc4e.tar.gz
ports-a65b264d9b9928417668c66d8422f37b1244fc4e.zip
Notes
Diffstat (limited to 'mail/dbmail20')
-rw-r--r--mail/dbmail20/Makefile10
-rw-r--r--mail/dbmail20/pkg-plist3
2 files changed, 8 insertions, 5 deletions
diff --git a/mail/dbmail20/Makefile b/mail/dbmail20/Makefile
index 7c8cef3cc616..6ce669242c81 100644
--- a/mail/dbmail20/Makefile
+++ b/mail/dbmail20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dbmail
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/tgz/
PKGNAMESUFFIX= -${DATABASE}
@@ -40,7 +41,11 @@ LDFLAGS+= -L${LOCALBASE}/lib/mysql
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE}
FILES_TO_PATCH= imapd.c main.c maintenance.c pop3d.c user.c
-DOCS= INSTALL README
+PORTDOCS= INSTALL README
+
+MAN1= dbmail-adduser.1 dbmail-config.1 dbmail-imapd.1 \
+ dbmail-maintenance.1 dbmail-pop3d.1 dbmail-smtp.1
+MANCOMPRESSED= no
pre-everything::
@${ECHO} ""
@@ -60,9 +65,10 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist
@${MKDIR} ${DATADIR}/sql
@${INSTALL_DATA} ${WRKSRC}/sql/${DATABASE}/* ${DATADIR}/sql
+ @cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/mail/dbmail20/pkg-plist b/mail/dbmail20/pkg-plist
index 2b086d113b91..82607c5e9368 100644
--- a/mail/dbmail20/pkg-plist
+++ b/mail/dbmail20/pkg-plist
@@ -35,8 +35,5 @@ etc/dbmail.conf-dist
%%PGSQL%%%%DATADIR%%/sql/md5_alter_users.7.3-pgsql
%%PGSQL%%%%DATADIR%%/sql/md5_alter_users.pre_7.3-pgsql
%%PGSQL%%%%DATADIR%%/sql/pop_before_smtp.pgsql
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/sql
@dirrm %%DATADIR%%