From c156bbc8d0537ba5cb4eaa9635e53bbb1bd07825 Mon Sep 17 00:00:00 2001 From: itetcu Date: Sat, 13 May 2006 17:37:21 +0000 Subject: - Update to 1.9 (master port updated in previous PR) - Convert spaces -> tabs - Respect NOPORTDOCS - Pass maintainership to submiter PR: ports/97156 Submitted by: Shaun Amott Approved by: lawrance --- japanese/plan/Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'japanese') diff --git a/japanese/plan/Makefile b/japanese/plan/Makefile index bcdc01c..feeb65c 100644 --- a/japanese/plan/Makefile +++ b/japanese/plan/Makefile @@ -6,26 +6,32 @@ # $FreeBSD$ # -PORTNAME= plan -PORTVERSION= 1.8.4 +PORTNAME= plan +PORTVERSION= 1.9 CATEGORIES= japanese -MAINTAINER= ports@FreeBSD.org +MAINTAINER= shaun@inerd.com MAKE_ENV+= JAPANESE=yes MASTERDIR= ${.CURDIR}/../../deskutils/plan PLIST= ${WRKDIR}/PLIST -EXTRA_PATCHES= ${.CURDIR}/files/patch-* +EXTRA_PATCHES= ${.CURDIR}/files/patch-* post-build: - ${ECHO_CMD} share/doc/plan/plan_calEUC.ps > ${WRKDIR}/PLIST +.if !defined(NOPORTDOCS) + ${ECHO_CMD} ${DOCSDIR:S|${PREFIX}/||}/plan_calEUC.ps > ${WRKDIR}/PLIST +.endif ${CAT} ${MASTERDIR}/pkg-plist >> ${WRKDIR}/PLIST post-install: - @${MKDIR} ${PREFIX}/share/netplan.dir - ${CHMOD} 1777 ${PREFIX}/share/netplan.dir - ${INSTALL_DATA} ${.CURDIR}/files/plan_calEUC.ps ${PREFIX}/share/doc/plan + @${MKDIR} ${DATADIR}/netplan.dir + ${CHMOD} 1777 ${DATADIR}/netplan.dir + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${.CURDIR}/files/plan_calEUC.ps ${DOCSDIR} +.endif .include "${MASTERDIR}/Makefile" -- cgit v1.1