diff options
author | wg <wg@FreeBSD.org> | 2013-10-04 07:24:14 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-04 07:24:14 +0800 |
commit | d99203c4c0ebf5daedbe3738af31c8b667f92cf1 (patch) | |
tree | f000ab17fee6a7e571137667fe2d2a75c21b6451 /mail | |
parent | 1b0fac47b33bb506b3becff04884af32192d6093 (diff) | |
download | freebsd-ports-gnome-d99203c4c0ebf5daedbe3738af31c8b667f92cf1.tar.gz freebsd-ports-gnome-d99203c4c0ebf5daedbe3738af31c8b667f92cf1.tar.zst freebsd-ports-gnome-d99203c4c0ebf5daedbe3738af31c8b667f92cf1.zip |
mail/dbmail: fix DOCS option
- Fix DOCS option [1] (based on)
PR: ports/182566 [1]
Submitted by: Alan Hicks <ahicks p-o.co.uk> (maintainer) [1]
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dbmail/Makefile | 13 | ||||
-rw-r--r-- | mail/dbmail/pkg-plist | 17 |
2 files changed, 22 insertions, 8 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile index 01168fe2c887..608dac8af78e 100644 --- a/mail/dbmail/Makefile +++ b/mail/dbmail/Makefile @@ -36,10 +36,11 @@ SHEBANG_FILES= man/fixsp.pl CFLAGS+= -fPIC ${PTHREAD_CFLAGS} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc +CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc --enable-manpages + MAKE_ARGS+= mandir=${MANPREFIX}/man -PORTDOCS= AUTHORS BUGS INSTALL THANKS UPGRADING +DOCS= AUTHORS BUGS INSTALL THANKS UPGRADING .include <bsd.port.options.mk> @@ -73,10 +74,6 @@ PLIST_SUB+= LDAP="@comment " EXTRA_PATCHES= ${FILESDIR}/extra-patch-acinclude.m4 .endif -.if ${PORT_OPTIONS:MDOCS} -CONFIGURE_ARGS+= --enable-manpages -.endif - post-install: ${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist @${MKDIR} ${STAGEDIR}${DATADIR} @@ -87,7 +84,7 @@ post-install: done @${MKDIR} ${STAGEDIR}${PIDDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} * ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> diff --git a/mail/dbmail/pkg-plist b/mail/dbmail/pkg-plist index fd523782eb4d..acc8402a7bf3 100644 --- a/mail/dbmail/pkg-plist +++ b/mail/dbmail/pkg-plist @@ -71,6 +71,22 @@ sbin/dbmail-util %%DATADIR%%/sqlite/3_0_2-3_1_0.sqlite %%DATADIR%%/sqlite/create_tables.sqlite %%DATADIR%%/sqlite/trigger.tmpl.sql +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/BUGS +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README.aliases +%%PORTDOCS%%%%DOCSDIR%%/README.exim +%%PORTDOCS%%%%DOCSDIR%%/README.filters +%%PORTDOCS%%%%DOCSDIR%%/README.http +%%PORTDOCS%%%%DOCSDIR%%/README.ldap +%%PORTDOCS%%%%DOCSDIR%%/README.postfix +%%PORTDOCS%%%%DOCSDIR%%/README.qmail +%%PORTDOCS%%%%DOCSDIR%%/README.sieve +%%PORTDOCS%%%%DOCSDIR%%/README.smtp +%%PORTDOCS%%%%DOCSDIR%%/README.solaris +%%PORTDOCS%%%%DOCSDIR%%/README.usermap +%%PORTDOCS%%%%DOCSDIR%%/THANKS +%%PORTDOCS%%%%DOCSDIR%%/UPGRADING @dirrm %%DATADIR%%/sqlite @dirrm %%DATADIR%%/postgresql @dirrm %%DATADIR%%/oracle @@ -80,3 +96,4 @@ sbin/dbmail-util @exec mkdir -p %%PIDDIR%% @exec chown %%DBMAIL_USER%%:%%DBMAIL_GROUP%% %%PIDDIR%% @dirrmtry %%PIDDIR%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |