summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2007-02-06 22:12:09 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2007-02-06 22:12:09 +0000
commitd69baa11c2bf22090919ae8cfbeadb04cccd91d5 (patch)
tree1ca13fcd6374e219bef06ef4651ccf145eeca5a0
parentUtilize PORTDOCS (diff)
- Utilize PORTDOCS
- Respect NOPORTDOCS Approved by: maintainer
Notes
Notes: svn path=/head/; revision=184432
-rw-r--r--net/ng_daphne/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ng_daphne/Makefile b/net/ng_daphne/Makefile
index b7aa665ac188..e898b2524c2b 100644
--- a/net/ng_daphne/Makefile
+++ b/net/ng_daphne/Makefile
@@ -29,13 +29,15 @@ IGNORE= "Requires new netgraph architecture ng_item to build"
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ng_daphne.c
.endif
-PLIST_FILES= lib/ng_daphne.ko %%DOCSDIR%%/README
-PLIST_DIRS= %%DOCSDIR%%
+PLIST_FILES= lib/ng_daphne.ko
+PORTDOCS= README
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ng_daphne.ko ${PREFIX}/lib
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}