Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2016 19:54:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416063 - head/www/emacs-w3m
Message-ID:  <201605281954.u4SJsvLF067962@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat May 28 19:54:57 2016
New Revision: 416063
URL: https://svnweb.freebsd.org/changeset/ports/416063

Log:
  - Remove ${PORTSDIR} from dependencies
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/www/emacs-w3m/Makefile

Modified: head/www/emacs-w3m/Makefile
==============================================================================
--- head/www/emacs-w3m/Makefile	Sat May 28 19:51:51 2016	(r416062)
+++ head/www/emacs-w3m/Makefile	Sat May 28 19:54:57 2016	(r416063)
@@ -63,8 +63,8 @@ SHIMBUN=	""
 .include <bsd.port.pre.mk>
 
 .if ${EMACS_NAME} == "emacs" && ${EMACS_VER:C/\..*//} >= 23
-FLIM_PORT=	${PORTSDIR}/editors/flim
-SEMI_PORT=	${PORTSDIR}/editors/semi
+FLIM_PORT=	editors/flim
+SEMI_PORT=	editors/semi
 INSTALL_TARGET=	install install-icons
 PLIST_SUB+=	EMACS23=""
 .else
@@ -76,19 +76,19 @@ INSTALL_TARGET=	install install-icons
 .endif
 
 .if ${EMACS_NAME} == "emacs" && ${EMACS_VER:C/\..*//} < 22
-MULE_UCS_PORT=	${PORTSDIR}/converters/mule-ucs
+MULE_UCS_PORT=	converters/mule-ucs
 INSTALL_TARGET=	install install-icons
 .endif
 
 FLIM_TRUNK=	1.14
 FLIM_COOKIE=	${LOCALBASE}/share/flim/flim-${EMACS_PORT_NAME}-${FLIM_TRUNK}.FreeBSD-packages
-FLIM_PORT?=	${PORTSDIR}/editors/flim-${EMACS_PORT_NAME}
+FLIM_PORT?=	editors/flim-${EMACS_PORT_NAME}
 
 SEMI_TRUNK=	1.14
 SEMI_COOKIE=	${LOCALBASE}/share/semi/semi-${EMACS_PORT_NAME}-${FLIM_TRUNK}.FreeBSD-packages
-SEMI_PORT?=	${PORTSDIR}/editors/semi-${EMACS_PORT_NAME}
+SEMI_PORT?=	editors/semi-${EMACS_PORT_NAME}
 
-MULE_UCS_PORT?=	${PORTSDIR}/converters/mule-ucs-${EMACS_PORT_NAME}
+MULE_UCS_PORT?=	converters/mule-ucs-${EMACS_PORT_NAME}
 MULE_UCS_ELISP_FILE=	${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/mule-ucs/un-define.el
 
 BUILD_DEPENDS+=	w3m:www/w3m
@@ -115,8 +115,7 @@ post-patch:
 	@${CP} ${FILESDIR}/_pkg.el ${WRKSRC}
 .endif
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${MKDIR} ${STAGEDIR}${DOCSDIR_JA}
 .for i in ${DOCS}
@@ -125,6 +124,5 @@ post-install:
 .for i in ${DOCS_JA}
 	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR_JA}
 .endfor
-.endif
 
 .include <bsd.port.post.mk>



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