diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-10-03 23:24:14 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-10-03 23:24:14 +0000 |
commit | f749901ca3c8c9e76ad1ec14a7cd30dcb4526ba7 (patch) | |
tree | f000ab17fee6a7e571137667fe2d2a75c21b6451 /mail/dbmail | |
parent | 174a06e16013e127adc87dc671ef71224191dd04 (diff) | |
download | ports-f749901ca3c8c9e76ad1ec14a7cd30dcb4526ba7.tar.gz ports-f749901ca3c8c9e76ad1ec14a7cd30dcb4526ba7.zip |
Notes
Diffstat (limited to 'mail/dbmail')
-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%% |