summaryrefslogtreecommitdiffstats
path: root/mail/dbmail-devel
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2003-12-19 09:54:18 +0000
committerclement <clement@FreeBSD.org>2003-12-19 09:54:18 +0000
commit15951eefc515fa7c8d4c838701a204ac2f96db48 (patch)
treeeeec238aae642483e9caf1a48daca10e4dab7c46 /mail/dbmail-devel
parenta88f0900970090cc2a4184597137b60be5982a72 (diff)
downloadFreeBSD-ports-15951eefc515fa7c8d4c838701a204ac2f96db48.zip
FreeBSD-ports-15951eefc515fa7c8d4c838701a204ac2f96db48.tar.gz
- Install manual pages [1]
- use PORTDOCS - bump PORTREVISION Noticed by: Dave C. <djc@microwave.com> [1] Approved by: erwin (mentor)
Diffstat (limited to 'mail/dbmail-devel')
-rw-r--r--mail/dbmail-devel/Makefile10
-rw-r--r--mail/dbmail-devel/pkg-plist3
2 files changed, 8 insertions, 5 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%%
OpenPOWER on IntegriCloud