diff options
Diffstat (limited to 'net/ng_daphne')
-rw-r--r-- | net/ng_daphne/Makefile | 6 |
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} |