Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 21:17:11 +0000 (UTC)
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364386 - head/print/abc2mtex
Message-ID:  <53e53e57.2826.6c78e3e7@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joerg
Date: Fri Aug  8 21:17:11 2014
New Revision: 364386
URL: http://svnweb.freebsd.org/changeset/ports/364386
QAT: https://qat.redports.org/buildarchive/r364386/

Log:
  Add staging support.

Modified:
  head/print/abc2mtex/Makefile

Modified: head/print/abc2mtex/Makefile
==============================================================================
--- head/print/abc2mtex/Makefile	Fri Aug  8 21:06:12 2014	(r364385)
+++ head/print/abc2mtex/Makefile	Fri Aug  8 21:17:11 2014	(r364386)
@@ -8,11 +8,13 @@ MASTER_SITES=		${MASTER_SITE_TEX_CTAN}
 MASTER_SITE_SUBDIR=	support/abc2mtex
 DISTNAME=		${PORTNAME}${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	joerg@FreeBSD.org
 COMMENT=	Music TeX converter from "abc" to MusiXTeX format
 
 RUN_DEPENDS=		musixtex:${PORTSDIR}/print/musixtex
 
+USE_GCC=	any
+
 NO_WRKSUBDIR=		yes
 
 TEXMF=		${PREFIX}/share/texmf
@@ -22,19 +24,19 @@ BIN_FILES=	abc2mtex abc2mtex \
 		search abc_search \
 		sort_in abc_sort_in
 
-NO_STAGE=	yes
 do-install:
 	cd ${WRKSRC}; \
-	${MKDIR} ${TEXMF}/doc/${PORTNAME}; \
-	${INSTALL_DATA} ${DOC_FILES} ${TEXMF}/doc/${PORTNAME}; \
-	${MKDIR} ${TEXMF}/doc/${PORTNAME}/examples; \
-	${INSTALL_DATA} ${EXAMPLE_FILES} ${TEXMF}/doc/${PORTNAME}/examples; \
-	${INSTALL_DATA} header.tex ${TEXMF}/tex/abc2mtex_header.tex
+	${MKDIR} ${STAGEDIR}/${TEXMF}/doc/${PORTNAME}; \
+	${MKDIR} ${STAGEDIR}/${TEXMF}/tex; \
+	${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}/${TEXMF}/doc/${PORTNAME}; \
+	${MKDIR} ${STAGEDIR}/${TEXMF}/doc/${PORTNAME}/examples; \
+	${INSTALL_DATA} ${EXAMPLE_FILES} ${STAGEDIR}/${TEXMF}/doc/${PORTNAME}/examples; \
+	${INSTALL_DATA} header.tex ${STAGEDIR}/${TEXMF}/tex/abc2mtex_header.tex
 	set -- ${BIN_FILES}; \
 	while [ $$# -gt 0 ] ; do \
 		src=$$1; tgt=$$2; shift; shift; \
-		${ECHO} "Installing $$src as ${PREFIX}/bin/$$tgt"; \
-		${INSTALL_PROGRAM} ${WRKSRC}/$$src ${PREFIX}/bin/$$tgt; \
+		${ECHO} "Installing $$src as ${STAGEDIR}/${PREFIX}/bin/$$tgt"; \
+		${INSTALL_PROGRAM} ${WRKSRC}/$$src ${STAGEDIR}/${PREFIX}/bin/$$tgt; \
 	done
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e53e57.2826.6c78e3e7>