svn commit: r346307 - head/sysutils/ods2

Emanuel Haupt ehaupt at FreeBSD.org
Thu Feb 27 09:45:12 UTC 2014


Author: ehaupt
Date: Thu Feb 27 09:45:11 2014
New Revision: 346307
URL: http://svnweb.freebsd.org/changeset/ports/346307
QAT: https://qat.redports.org/buildarchive/r346307/

Log:
  - Support staging
  - Define DOCS option

Modified:
  head/sysutils/ods2/Makefile

Modified: head/sysutils/ods2/Makefile
==============================================================================
--- head/sysutils/ods2/Makefile	Thu Feb 27 09:43:19 2014	(r346306)
+++ head/sysutils/ods2/Makefile	Thu Feb 27 09:45:11 2014	(r346307)
@@ -18,16 +18,15 @@ MAKE_ARGS=	CCFLAGS="${CFLAGS}"
 PLIST_FILES=	sbin/ods2
 PORTDOCS=	aareadme.too aareadme.txt
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \
 		${WRKSRC}/${MAKEFILE}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${STAGEDIR}${PREFIX}/sbin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list