aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xmdiary/Makefile
blob: 631165ef63cf2e757077b07919d43162a2f2b52a (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
# New ports collection makefile for:    xmdiary
# Date created:     29 Sep 1997
# Whom:         mi@aldan.ziplink.net
#
# $FreeBSD$
#

PORTNAME=   xmdiary
PORTVERSION=    3.0.3
PORTREVISION=   1
CATEGORIES= deskutils
MASTER_SITES=   ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= office
DISTFILES=  ${DISTNAME}.tar.gz

MAINTAINER= mi@aldan.algebra.com
COMMENT=    Personal and group calendar utility

NO_CDROM=   "Don't sell for profit"
EXTRACT_ONLY=   ${DISTNAME}.tar.gz
USE_MOTIF=  yes
USE_IMAKE=  yes
MAN1=       xdaclunix.1 xdalarm.1 xdcustom.1 xddump.1 xdiary.1 xdinitdb.1 \
        xdlight.1 xdnotify.1 xdprformat.1 xdremind.1 xdremove.1 \
        xdrestore.1

post-patch:
    @${ECHO_MSG} removing the "malloc.h" includes
    ${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero
    @${ECHO_MSG} removing unneccessary DependTarget from Imakefile-s
    ${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero
    ${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
        -e 's|CcCmd gcc|CcCmd ${CC}|' '${WRKSRC}/XDiary.tmpl'

.include <bsd.port.mk>