summaryrefslogtreecommitdiff
path: root/print/xpp
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2007-04-08 00:22:36 +0000
committerNate Lawson <njl@FreeBSD.org>2007-04-08 00:22:36 +0000
commit703f2ef16b109bdf4ea2d97d03e64e5f9ee1ddb3 (patch)
tree7c007e04c306461c47e1df0e0c78311a51046de0 /print/xpp
parentFix build on g++41 by removing unnecessary qualifier. (diff)
Install the README as a doc also, similar to the 1.1 version of this port.
Notes
Notes: svn path=/head/; revision=189459
Diffstat (limited to 'print/xpp')
-rw-r--r--print/xpp/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/print/xpp/Makefile b/print/xpp/Makefile
index ea13555c9ea8..873d3a4d420a 100644
--- a/print/xpp/Makefile
+++ b/print/xpp/Makefile
@@ -22,7 +22,8 @@ USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-PLIST_FILES= bin/xpp
+PLIST_FILES= bin/xpp share/doc/xpp/README
+PLIST_DIRS= share/doc/xpp
post-configure:
@${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \
@@ -30,4 +31,8 @@ post-configure:
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/xpp
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp
+
.include <bsd.port.mk>