svn commit: r354162 - head/japanese/plan

Pawel Pekala pawel at FreeBSD.org
Thu May 15 17:50:29 UTC 2014


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"


More information about the svn-ports-all mailing list