svn commit: r345249 - head/lang/atlast
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 20 15:07:08 UTC 2014
Author: ehaupt
Date: Thu Feb 20 15:07:07 2014
New Revision: 345249
URL: http://svnweb.freebsd.org/changeset/ports/345249
QAT: https://qat.redports.org/buildarchive/r345249/
Log:
Support staging
Modified:
head/lang/atlast/Makefile
Modified: head/lang/atlast/Makefile
==============================================================================
--- head/lang/atlast/Makefile Thu Feb 20 15:01:21 2014 (r345248)
+++ head/lang/atlast/Makefile Thu Feb 20 15:07:07 2014 (r345249)
@@ -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>
More information about the svn-ports-all
mailing list