1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

1: add STAGEDIR support.

2: make DOCS as option.
This commit is contained in:
Vanilla I. Shu 2013-09-24 16:31:33 +00:00
parent 2ef71f9340
commit 2ef9cfa267
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328160
2 changed files with 20 additions and 10 deletions

View File

@ -9,6 +9,8 @@ MASTER_SITES= http://www.sixtyfourbit.org/Download/
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Message Queuing for C++
OPTIONS_DEFINE= DOCS
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
USES= pathfix pkgconfig
@ -17,5 +19,13 @@ USE_BZIP2= yes
USE_DOS2UNIX= yes
GNU_CONFIGURE= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} -e \
'/^install-data-am:/ s|install-docDATA||' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

View File

@ -29,13 +29,13 @@ lib/libmq4cpp.la
lib/libmq4cpp.so
lib/libmq4cpp.so.1
libdata/pkgconfig/mq4cpp.pc
%%DOCSDIR%%/AUTHORS
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/INSTALL
%%DOCSDIR%%/NEWS
%%DOCSDIR%%/README
%%DOCSDIR%%/LICENSE
%%DOCSDIR%%/TODO
@dirrm %%DOCSDIR%%
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/mq4cpp