aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/plan/Makefile
blob: fd0de106fe33afba43abeee47402a71254291707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ex:ts=8
# Ports collection makefile for:  plan
# Date created:           Sat Jan 31, 1998
# Whom:               David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#

PORTNAME=   plan
PORTVERSION=    1.9
PORTREVISION=   1
CATEGORIES= japanese

MAINTAINER= shaun@FreeBSD.org

MAKE_ENV+=  JAPANESE=yes

MASTERDIR=  ${.CURDIR}/../../deskutils/plan

PLIST=  ${WRKDIR}/PLIST
EXTRA_PATCHES=  ${.CURDIR}/files/patch-*

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"