aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/libemf/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/libemf/Makefile b/graphics/libemf/Makefile
index 2bc2cbb2c50e..c95f69651b2b 100644
--- a/graphics/libemf/Makefile
+++ b/graphics/libemf/Makefile
@@ -9,16 +9,15 @@ MASTER_SITES= SF
MAINTAINER= maho@FreeBSD.org
COMMENT= Enhanced Metafile Library
+OPTIONS_DEFINE= DOCS
+
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>