diff options
author | clement <clement@FreeBSD.org> | 2003-12-19 17:54:18 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2003-12-19 17:54:18 +0800 |
commit | 15951eefc515fa7c8d4c838701a204ac2f96db48 (patch) | |
tree | eeec238aae642483e9caf1a48daca10e4dab7c46 /mail/dbmail22 | |
parent | a88f0900970090cc2a4184597137b60be5982a72 (diff) | |
download | freebsd-ports-graphics-15951eefc515fa7c8d4c838701a204ac2f96db48.tar.gz freebsd-ports-graphics-15951eefc515fa7c8d4c838701a204ac2f96db48.tar.zst freebsd-ports-graphics-15951eefc515fa7c8d4c838701a204ac2f96db48.zip |
- Install manual pages [1]
- use PORTDOCS
- bump PORTREVISION
Noticed by: Dave C. <djc@microwave.com> [1]
Approved by: erwin (mentor)
Diffstat (limited to 'mail/dbmail22')
-rw-r--r-- | mail/dbmail22/Makefile | 10 | ||||
-rw-r--r-- | mail/dbmail22/pkg-plist | 3 |
2 files changed, 8 insertions, 5 deletions
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile index 7c8cef3cc61..6ce669242c8 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 2b086d113b9..82607c5e936 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%% |