diff options
Diffstat (limited to 'converters/ytnef/Makefile')
-rw-r--r-- | converters/ytnef/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/ytnef/Makefile b/converters/ytnef/Makefile index 6f4279cc40b..3a8a364dba5 100644 --- a/converters/ytnef/Makefile +++ b/converters/ytnef/Makefile @@ -24,12 +24,15 @@ PLIST_FILES= bin/ytnef bin/ytnefprocess.pl bin/ytnefprint PORTDOCS= AUTHORS NEWS README NO_STAGE= yes + +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \ ${WRKSRC}/src/ytnef/ytnefprocess.pl post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif |