diff options
-rw-r--r-- | lang/atlast/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lang/atlast/Makefile b/lang/atlast/Makefile index 34e9643e4010..2b34e977f253 100644 --- a/lang/atlast/Makefile +++ b/lang/atlast/Makefile @@ -14,19 +14,18 @@ PLIST_FILES= bin/${PORTNAME} PORTDOCS= atlast.html atlast.pdf -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e "/^COPTIONS = /s, = .*, = ${CFLAGS}, " \ -e "/^CC = /s,= .*, = ${CC}," \ ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |