svn commit: r345022 - head/devel/elfrc

Emanuel Haupt ehaupt at FreeBSD.org
Wed Feb 19 08:39:39 UTC 2014


Author: ehaupt
Date: Wed Feb 19 08:39:38 2014
New Revision: 345022
URL: http://svnweb.freebsd.org/changeset/ports/345022
QAT: https://qat.redports.org/buildarchive/r345022/

Log:
  Support staging

Modified:
  head/devel/elfrc/Makefile

Modified: head/devel/elfrc/Makefile
==============================================================================
--- head/devel/elfrc/Makefile	Wed Feb 19 08:37:53 2014	(r345021)
+++ head/devel/elfrc/Makefile	Wed Feb 19 08:39:38 2014	(r345022)
@@ -12,16 +12,15 @@ COMMENT=	Resource compiler for ELF syste
 PLIST_FILES=	bin/elfrc
 PORTDOCS=	README
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-build:
 	@${ECHO} '#define ELFRC_VERSION "${PORTVERSION}"' > ${WRKSRC}/config.h
 	${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/elfrc ${WRKSRC}/elfrc.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/elfrc ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list