Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 17:50:28 +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: r354162 - head/japanese/plan
Message-ID:  <201405151750.s4FHoS59014699@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu May 15 17:50:28 2014
New Revision: 354162
URL: http://svnweb.freebsd.org/changeset/ports/354162
QAT: https://qat.redports.org/buildarchive/r354162/

Log:
  - Add staging support
  - Convert to new options framework

Modified:
  head/japanese/plan/Makefile

Modified: head/japanese/plan/Makefile
==============================================================================
--- head/japanese/plan/Makefile	Thu May 15 17:39:03 2014	(r354161)
+++ head/japanese/plan/Makefile	Thu May 15 17:50:28 2014	(r354162)
@@ -15,20 +15,15 @@ MASTERDIR=	${.CURDIR}/../../deskutils/pl
 PLIST=	${WRKDIR}/PLIST
 EXTRA_PATCHES=	${.CURDIR}/files/patch-*
 
-NO_STAGE=	yes
+PORTDOCS=	plan_calEUC.ps
+
 post-build:
-.if !defined(NOPORTDOCS)
-	${ECHO_CMD} ${DOCSDIR:S|${PREFIX}/||}/plan_calEUC.ps > ${WRKDIR}/PLIST
-.endif
 	${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/PLIST
 
 post-install:
-	@${MKDIR} ${DATADIR}/netplan.dir
-	${CHMOD} 1777 ${DATADIR}/netplan.dir
-
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${.CURDIR}/files/plan_calEUC.ps ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}/netplan.dir
+	${CHMOD} 1777 ${STAGEDIR}${DATADIR}/netplan.dir
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${.CURDIR}/files/plan_calEUC.ps ${STAGEDIR}${DOCSDIR}
 
 .include	"${MASTERDIR}/Makefile"



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