svn commit: r328160 - head/devel/mq4cpp
Vanilla I. Shu
vanilla at FreeBSD.org
Tue Sep 24 16:31:34 UTC 2013
Author: vanilla
Date: Tue Sep 24 16:31:33 2013
New Revision: 328160
URL: http://svnweb.freebsd.org/changeset/ports/328160
Log:
1: add STAGEDIR support.
2: make DOCS as option.
Modified:
head/devel/mq4cpp/Makefile
head/devel/mq4cpp/pkg-plist
Modified: head/devel/mq4cpp/Makefile
==============================================================================
--- head/devel/mq4cpp/Makefile Tue Sep 24 16:31:11 2013 (r328159)
+++ head/devel/mq4cpp/Makefile Tue Sep 24 16:31:33 2013 (r328160)
@@ -9,6 +9,8 @@ MASTER_SITES= http://www.sixtyfourbit.or
MAINTAINER= vanilla at 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>
Modified: head/devel/mq4cpp/pkg-plist
==============================================================================
--- head/devel/mq4cpp/pkg-plist Tue Sep 24 16:31:11 2013 (r328159)
+++ head/devel/mq4cpp/pkg-plist Tue Sep 24 16:31:33 2013 (r328160)
@@ -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
- at 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
More information about the svn-ports-all
mailing list