summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/dbmail-devel/Makefile10
-rw-r--r--mail/dbmail-devel/pkg-plist3
-rw-r--r--mail/dbmail/Makefile10
-rw-r--r--mail/dbmail/pkg-plist3
-rw-r--r--mail/dbmail20/Makefile10
-rw-r--r--mail/dbmail20/pkg-plist3
-rw-r--r--mail/dbmail21/Makefile10
-rw-r--r--mail/dbmail21/pkg-plist3
-rw-r--r--mail/dbmail22/Makefile10
-rw-r--r--mail/dbmail22/pkg-plist3
10 files changed, 40 insertions, 25 deletions
diff --git a/mail/dbmail-devel/Makefile b/mail/dbmail-devel/Makefile
index 7c8cef3..6ce6692 100644
--- a/mail/dbmail-devel/Makefile
+++ b/mail/dbmail-devel/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/dbmail-devel/pkg-plist b/mail/dbmail-devel/pkg-plist
index 2b086d1..82607c5 100644
--- a/mail/dbmail-devel/pkg-plist
+++ b/mail/dbmail-devel/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%%
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index 7c8cef3..6ce6692 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/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/dbmail/pkg-plist b/mail/dbmail/pkg-plist
index 2b086d1..82607c5 100644
--- a/mail/dbmail/pkg-plist
+++ b/mail/dbmail/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%%
diff --git a/mail/dbmail20/Makefile b/mail/dbmail20/Makefile
index 7c8cef3..6ce6692 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 2b086d1..82607c5 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%%
diff --git a/mail/dbmail21/Makefile b/mail/dbmail21/Makefile
index 7c8cef3..6ce6692 100644
--- a/mail/dbmail21/Makefile
+++ b/mail/dbmail21/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/dbmail21/pkg-plist b/mail/dbmail21/pkg-plist
index 2b086d1..82607c5 100644
--- a/mail/dbmail21/pkg-plist
+++ b/mail/dbmail21/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%%
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile
index 7c8cef3..6ce6692 100644
--- a/mail/dbmail22/Makefile
+++ b/mail/dbmail22/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/dbmail22/pkg-plist b/mail/dbmail22/pkg-plist
index 2b086d1..82607c5 100644
--- a/mail/dbmail22/pkg-plist
+++ b/mail/dbmail22/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%%
OpenPOWER on IntegriCloud