aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-05-16 01:50:28 +0800
committerpawel <pawel@FreeBSD.org>2014-05-16 01:50:28 +0800
commitad7425d5761c0f5ea426de3b233fa6510aa50d0b (patch)
tree3eea1033b7a8d030dbfa9cff2e1276f5cd2ddfd4 /japanese
parente17d6c7ce93b432f6745a0c61b4bf377e0619572 (diff)
downloadfreebsd-ports-gnome-ad7425d5761c0f5ea426de3b233fa6510aa50d0b.tar.gz
freebsd-ports-gnome-ad7425d5761c0f5ea426de3b233fa6510aa50d0b.tar.zst
freebsd-ports-gnome-ad7425d5761c0f5ea426de3b233fa6510aa50d0b.zip
- Add staging support
- Convert to new options framework
Diffstat (limited to 'japanese')
-rw-r--r--japanese/plan/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/japanese/plan/Makefile b/japanese/plan/Makefile
index 1bc08b854a97..f6a62831bc46 100644
--- a/japanese/plan/Makefile
+++ b/japanese/plan/Makefile
@@ -15,20 +15,15 @@ MASTERDIR= ${.CURDIR}/../../deskutils/plan
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"