aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/libexttextcat/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/textproc/libexttextcat/Makefile b/textproc/libexttextcat/Makefile
index 00976b3695e0..5be28d572c29 100644
--- a/textproc/libexttextcat/Makefile
+++ b/textproc/libexttextcat/Makefile
@@ -15,21 +15,15 @@ USE_LDCONFIG= yes
USE_XZ= yes
USES= gmake pathfix
+MAKE_ARGS= EXEEXT=x
+
PORTDOCS= README README.libtextcat TODO
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-PLIST_SUB+= EXEEXT='x'
-MAKE_ARGS= EXEEXT=x
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
check:
cd ${WRKSRC}/src && make check