aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/xmdiary/Makefile
blob: 43e24e2de6c9cbf58676c38343953e46338a69f8 (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
# Version required: 3.0.1
# Date created:     29 Sep 1997
# Whom:         mi@aldan.ziplink.net
#
# $Id$
#

DISTNAME=   xmdiary-3.0.1
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= office
DISTFILES=      ${DISTNAME}.tar.gz xmdfix.gz

MAINTAINER= mi@aldan.ziplink.net

NO_CDROM=   "Don't sell for profit"
EXTRACT_ONLY=   ${DISTNAME}.tar.gz
REQUIRES_MOTIF= yes
USE_IMAKE=  yes

pre-patch:
    for node in `tar tzf ${DISTDIR}/xmdfix.gz` ; \
    do \
        test -f $(WRKSRC)/$$node && ${RM} -f $(WRKSRC)/$$node ; \
    done
    cd  $(WRKSRC) && tar xzpf ${DISTDIR}/xmdfix.gz

post-patch:
    @echo removing the "malloc.h" includes
    ${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero
    @echo removing unneccessary DependTarget from Imakefile-s
    ${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero

.include <bsd.port.mk>