Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2014 20:29:30 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350408 - head/devel/xtla
Message-ID:  <201404062029.s36KTUIb072251@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Apr  6 20:29:29 2014
New Revision: 350408
URL: http://svnweb.freebsd.org/changeset/ports/350408
QAT: https://qat.redports.org/buildarchive/r350408/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Convert to USES=gmake
  - Define DOCS option

Modified:
  head/devel/xtla/Makefile

Modified: head/devel/xtla/Makefile
==============================================================================
--- head/devel/xtla/Makefile	Sun Apr  6 20:15:25 2014	(r350407)
+++ head/devel/xtla/Makefile	Sun Apr  6 20:29:29 2014	(r350408)
@@ -11,7 +11,7 @@ MASTER_SITES=	http://download.gna.org/xt
 PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	An Emacs front-end to tla
+COMMENT=	Emacs front-end to tla
 
 BUILD_DEPENDS+=	tla:${PORTSDIR}/devel/tla \
 		${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/tree-widget/tree-widget.el:${PORTSDIR}/editors/tree-widget
@@ -19,27 +19,22 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_EMACS=	yes
 
-LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+LISPDIR=	${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--with-emacs=${EMACS_NAME} --with-diff=gdiff --with-patch=gpatch
-USE_GMAKE=	yes
+USES=		gmake
 INFO=		xtla
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${MKDIR} ${LISPDIR}
-.for i in *.el *.elc
-	${INSTALL_DATA} ${WRKSRC}/lisp/${i} ${LISPDIR}
-.endfor
-	${INSTALL_DATA} ${WRKSRC}/texinfo/xtla.info ${PREFIX}/info
-
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for i in ANNOUNCEMENTS BINDINGS FEATURES HACKING TODO
-	${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${LISPDIR}
+	(cd ${WRKSRC}/lisp && ${INSTALL_DATA} *.el *.elc ${LISPDIR})
+	${INSTALL_DATA} ${WRKSRC}/texinfo/xtla.info ${STAGEDIR}${PREFIX}/info
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/docs && ${INSTALL_DATA} ANNOUNCEMENTS BINDINGS FEATURES \
+		HACKING TODO ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.pre.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404062029.s36KTUIb072251>