1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/japanese/plan/Makefile

35 lines
715 B
Makefile

# Created by: David O'Brien (obrien@cs.ucdavis.edu)
# $FreeBSD$
PORTNAME= plan
PORTVERSION= 1.9
PORTREVISION= 2
CATEGORIES= japanese
MAINTAINER= ports@FreeBSD.org
MAKE_ENV+= JAPANESE=yes
MASTERDIR= ${.CURDIR}/../../deskutils/plan
PLIST= ${WRKDIR}/PLIST
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
NO_STAGE= yes
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
.include "${MASTERDIR}/Makefile"