aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-06 20:29:29 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-06 20:29:29 +0000
commit85ad0a8454c7c02bf90a6b0381355a5a22a76ed8 (patch)
tree9524052f1cbd252f003dac1e736e8774814a1f42 /devel
parent061d5f2f006a063581ccfd21b82c13d6fb0d2310 (diff)
downloadports-85ad0a8454c7c02bf90a6b0381355a5a22a76ed8.tar.gz
ports-85ad0a8454c7c02bf90a6b0381355a5a22a76ed8.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/xtla/Makefile27
1 files changed, 11 insertions, 16 deletions
diff --git a/devel/xtla/Makefile b/devel/xtla/Makefile
index ebe07a28b6fb..b18a9aa7eef9 100644
--- a/devel/xtla/Makefile
+++ b/devel/xtla/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://download.gna.org/xtla-el/ \
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>